how do I get the parameter values after the current domain name says hello? 
 www.baidu.com? Keywordid= {keywordid} & keyword= {keyword} & userid= {userid} & planid= {planid} 
 get all the values in curly braces 
 to pass by. Thank you! 
 how do I get the parameter values after the current domain name says hello? 
 www.baidu.com? Keywordid= {keywordid} & keyword= {keyword} & userid= {userid} & planid= {planid} 
 get all the values in curly braces 
 to pass by. Thank you! 
 Baidu take a bunch of 
  such as this  
you need to specify whether it is a key-value pair form or just get the value
  
 
after this division, you can take it, and you can take it 24 6 8 10.
function getURLParameter(name){
    var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
    var r = window.location.search.substr(1).match(reg);
    if (r != null) return decodeURI(r[2]); return null;
}getURLParameter ('keywordid'). Replace (' {','). Replace ('}',');
www.baidu.comkeywordid={keywordid}&keyword={keyword}&userid={userid}&planid={planid}this is just a string of strings, which can be divided in a basic way. You can try it yourself