function getUrlVars()
{
    var vars = [], hash;
    var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
    for(var i = 0; i < hashes.length; i++)
    {
        hash = hashes[i].split('=');
        vars.push(hash[0]);
        vars[hash[0]] = hash[1];
    }
    return vars;
}

console.log(pars.PackageID);

相关文章:

  • 2021-06-05
  • 2021-12-04
  • 2021-11-23
  • 2022-12-23
  • 2021-07-26
  • 2022-01-04
  • 2021-11-18
  • 2021-06-04
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2022-01-11
相关资源
相似解决方案