传递一个参数:
window.navigate("2.html?a="+参数)
传递两给参数:
window.navigate("2.html?a=" + 参数1 + "&b=" + 参数2)
window.navigate("2.html?a="+参数)
传递两给参数:
window.navigate("2.html?a=" + 参数1 + "&b=" + 参数2)
调试欢乐多
地址:http://www.xxx.com/xxx.htm?a=1&b=2....
window.location的值就是"http://www.xxx.com/xxx.htm?a=1&b=2...."
然后再对这个字符串变量进行处理和截取