张传龙 发表于 2013-1-29 08:48:11

window.location.assign用法

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);      }
页: [1]
查看完整版本: window.location.assign用法