大家讲道理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