标签:io ar sp on bs amp new window app
"total" -->传递参数时的名字
var reg = new RegExp("(^|&)" + "total" + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
$("#score").append(r[2]);
标签:io ar sp on bs amp new window app
原文地址:http://www.cnblogs.com/shuaif/p/4056550.html