html页面互相传值的问题解决方案_HTML/Xhtml_网页制作
来源:动视网
责编:小采
时间:2020-11-27 16:48:35
html页面互相传值的问题解决方案_HTML/Xhtml_网页制作
html页面互相传值的问题解决方案_HTML/Xhtml_网页制作:第一次使用随笔,感觉还是蛮别扭的 a.html 代码如下: demo b.html 代码如下: New Document document.write(location+); document.write(location.search+); document.write(decodeURIC
导读html页面互相传值的问题解决方案_HTML/Xhtml_网页制作:第一次使用随笔,感觉还是蛮别扭的 a.html 代码如下: demo b.html 代码如下: New Document document.write(location+); document.write(location.search+); document.write(decodeURIC

第一次使用随笔,感觉还是蛮别扭的
a.html
代码如下:
demo b.html
代码如下:
New Document document.write(location+"
");
document.write(location.search+"
");
document.write(decodeURIComponent(location.search.substr(location.search.indexOf("=")+1)));
html页面互相传值的问题解决方案_HTML/Xhtml_网页制作
html页面互相传值的问题解决方案_HTML/Xhtml_网页制作:第一次使用随笔,感觉还是蛮别扭的 a.html 代码如下: demo b.html 代码如下: New Document document.write(location+); document.write(location.search+); document.write(decodeURIC