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

后端 未结 7 1893
余生分开走
余生分开走 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:13

    Take a look at my post, as it tells you exactly how to do this:

    http://seattlesoftware.wordpress.com/2008/01/16/javascript-query-string/

提交回复
热议问题