js获得请求参数,地址
alert(parent.window.location.pathname); /xxxx
alert(parent.window.location.search); 获得参数 ?xxx=xxx
alert(parent.window.location.href); http://xxzz/
如果不是用frame,直接去掉parent就可以
alert(parent.window.location.search); 获得参数 ?xxx=xxx
alert(parent.window.location.href); http://xxzz/
如果不是用frame,直接去掉parent就可以