将一个已编码的URI字符串解码成最原始的字符串返回;
3) 举例:
Script language = " javascript "
!--
var encodeStr = encodeURI( " http://www.amigoxie.com/index.jsp?name=阿蜜果 " );
alert( " encodeStr: " + encodeStr);
var decodeStr = decodeURI(encodeStr);
alert( " decodeStr: " + decodeStr);
// --
/ script 输出结果如下:
encodeStr: http://www.amigoxie.com/index.jsp?name=%E9%98%BF%E8%9C%9C%E6%9E%9C
decodeStr: http://www.amigoxie.com/index.jsp?name=阿蜜果
2. 数值处理函数
1) parse...[ 查看全文 ]