枰培教育
您的当前位置:首页html页面互相传值的问题解决方案_HTML/Xhtml_网页制作

html页面互相传值的问题解决方案_HTML/Xhtml_网页制作

来源:枰培教育


第一次使用随笔,感觉还是蛮别扭的
a.html

代码如下:


demo





b.html

代码如下:


New Document



document.write(location+"
");
document.write(location.search+"
");
document.write(decodeURIComponent(location.search.substr(location.search.indexOf("=")+1)));



显示全文