function historySearch() { var starttime = jQuery("#datetime").html(); var endtime = jQuery("#datetime2").html(); if (starttime == "起始时间" || endtime == "终止时间") { return; } window.location.assign("goodsindex.do?method=historySearch&starttime=" + starttime + "&endtime=" + endtime + "&searchtype=" + searchtype + "&searchvalue=" + searchvalue); }
window.location.assign用法
最新推荐文章于 2024-03-13 11:10:12 发布