"total" -->传递参数时的名字
var reg = new RegExp("(^|&)" + "total" + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
$("#score").append(r[2]);
2022-10-01 21:30:27
"total" -->传递参数时的名字
var reg = new RegExp("(^|&)" + "total" + "=([^&]*)(&|$)", "i");
var r = window.location.search.substr(1).match(reg);
$("#score").append(r[2]);