Home  >  Q&A  >  body text

getParameterByName answer - Stack Overflow

扔个三星炸死你扔个三星炸死你2669 days ago843

reply all(1)I'll reply

  • 大家讲道理

    大家讲道理2017-06-29 10:12:02

    This function is to parse and obtain the parameters of the current path. For example, for the URL "www.baidu.com?kw=Hello", calling the function "getParameterByName('kw')" returns "Hello".
    This function mainly matches through regular expressions and returns the first matched result value

    reply
    0
  • Cancelreply