Is there any JavaScript library that makes a dictionary out of the query string, ASP.NET style?
Something which can be used like:
var query = window.location.querystring['query']?
Is ‘query string’ called something else outside the .NET realm? Why isn’t location.search broken into a key/value collection ?
EDIT: I have written my own function, but does any major JavaScript library do this?
Maybe http://plugins.jquery.com/query-object/?
This is the fork of it https://github.com/sousk/jquery.parsequery#readme.