标签:字符 html read ons war cli dir function ready
$("#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
});
js如何获取window.location.href跳转后查询字符串的值?
标签:字符 html read ons war cli dir function ready
原文地址:https://www.cnblogs.com/YuyuanNo1/p/9229800.html