您好,欢迎访问一九零五行业门户网

两个html页面之间传递参数_html/css_WEB-ITnose

var href = document.url;
href = decodeuri(href);
var otext1 = href.split(=)[1];
eg:  a.html   
local.href = 'www.aaa.com/index.php?a=1';
b.html
var href = document.url;
href = decodeuri(href);
var otext1 = href.split(=)[1];
//运用上面的代码,otext1 = 1;
版权声明:本文为博主原创文章,未经博主允许不得转载。
其它类似信息

推荐信息