parsing - Parse query string in JavaScript - Stack Overflow
Possible Duplicate: How can I get query string values? I need to parse the query string www.mysite.com/default.aspx?dest=aboutus.aspx. How do I get the dest variable in JavaScript? ... function parseQuery(qstr) { var query = {}; var a = qstr.split('&'); f...