看如下代码:

function getURLParameter(name) {
                return decodeURI(
                    (RegExp(name + '=' + '(.+?)(&|$)').exec(location.search) || [, null])[1]
                );
            }

 

相关文章:

  • 2022-12-23
  • 2022-01-25
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-03
  • 2021-09-22
  • 2021-06-07
  • 2021-10-18
  • 2021-12-01
  • 2022-01-23
  • 2022-02-22
相关资源
相似解决方案