// encodeURI 编码
window.location.href(encodeURI("zhongji2.html"
+
"?"
+
"parm1="
+parm1+
"&parm2="
+parm2+
"&parm3="
+parm3+
"&parm4="
+parm4
));
// decodeURI 解码
var
url=decodeURI(location.href);
搞定
// encodeURI 编码
window.location.href(encodeURI("zhongji2.html"
+
"?"
+
"parm1="
+parm1+
"&parm2="
+parm2+
"&parm3="
+parm3+
"&parm4="
+parm4
));
var
url=decodeURI(location.href);