在a.HTML中
//此处拼接内容
htmlUrl = "b.html?sportNewsId="+id;
//页面跳转
window.location.href = "../../html/user/"+htmlUrl;
在b.HTML中
var sportNewsId = $.query.get("sportNewsId");
在a.HTML中
//此处拼接内容
htmlUrl = "b.html?sportNewsId="+id;
//页面跳转
window.location.href = "../../html/user/"+htmlUrl;
在b.HTML中
var sportNewsId = $.query.get("sportNewsId");