通过location.search

时间:2015-05-27 02:11:59

标签: jquery html5

我将参数ID发送到此网址

window.location = "/Payroll/client/index.html#Application.html?id="+applicationId;

但是当我尝试使用时:

console.log(location.search.substring(1));
没有出现。

我是否知道如何从此网址获取参数,尤其是当此网址为index.html#Application.html

0 个答案:

没有答案