- 博客(1)
- 收藏
- 关注
原创 解决地址栏传参(中文汉字)
a.html encodeURI(name) b.html function GetRequest() { var url =decodeURI(decodeURI(location.search)); //获取url中"?"符后的字串,使用了两次decodeRUI解码 var theRequest = new Object(); if (url.indexOf("?") != -1) { var ...
2020-09-08 10:08:09 304
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人