Chris Pietschmann

husband, father, hacker, entrepreneur, futurist, innovator, autodidact


JavaScript Tips: Parse QueryString to Dictionary

The URL Query String is something that is usually just sent to the server-side code and parse there for use in specifying the data to query. A somewhat little known feature of the JavaScript DOM is that the QueryString values are accessible from client-side javaScript code too. The following code can be used to read what the full QueryString value is from the current pages URL: var queryString =; Although, the QueryString value can be accessed from JavaScript, it isn't p... [More]