decodeURI
URLデコード
構文
decodeURI(string)
引数
string=文字列例文
<html> <head> <title>decodeURI</title> </head> <body> <!--URLデコードのサンプル--> <script type="text/javascript"> var test1="http://www.yahoo.co.jp/"; document.write(encodeURI(test1)+"<br>"); document.write(decodeURI(test1)); </script> </body> </html>
関連記事
スポンサーリンク