js如何获取window.location.href跳转后查询字符串的值?
$("#worked_count").parent().attr("onClick","window.location.href='view/warn/task_list.html?task_status=D'");
$(document).ready(function () {
console.dir(window.location.search);
//打印?task_status=E
});
不积跬步无以至千里,不积小流无以成江海