What is the easiest way to read/manipulate query string params using javascript?

后端 未结 7 1887
余生分开走
余生分开走 2020-12-05 11:45

The examples I\'ve seen online seem much more complex than I expected (manually parsing &/?/= into pairs, using regular expressions, etc). We\'re using asp.net

7条回答
  •  不思量自难忘°
    2020-12-05 12:16

    There is indeed a QueryString plugin for jQuery, if you're willing to install the jQuery core and the plugin it could prove useful.

提交回复
热议问题