JavaScript Query String

Query Strings
When I started coding more client-side JavaScript in replace of ASP.NET code, I was surprised to find there there’s no object in JavaScript that breaks down a query string into a key (or name)/value collection, as this.Request.QueryString does in ASP.NET.
Here’s a URL with a query string:

http://prettycode.com/search?query=code&pageSize=20

The query string is everything that including and [...]

Tags: , , ,