Getting and Setting Query String Values in JavaScript
Posted by: Rick Strahls WebLog,
on 07 Sep 2009 |
View original | Bookmarked: 0 time(s)
Lately that Ive been working with ASP.NET MVC Ive been finding myself in a few situations where Ive needed to inject values into existing URLs. For example, when creating paging on a page its often useful to add a page number when the user clicks a page selection. Imagine you have a url like this: http://localhost/powerwell/search?subquerytype=sales&page=3&format=detail and now you need to update the page number. You dont know whether the page number is there or not or for that matter whether...