a.html页面:
function sq(a){
window.location.href = "./list.html?rid=" + a;
}
sq(2);
b.html页面
var rid = getQueryString("rid");
//这样b页面就接收到a页面传过来的参数的值了,只是jq的方法,别忘记了使用之前引入jq
a.html页面:
function sq(a){
window.location.href = "./list.html?rid=" + a;
}
sq(2);
b.html页面
var rid = getQueryString("rid");
//这样b页面就接收到a页面传过来的参数的值了,只是jq的方法,别忘记了使用之前引入jq