Possible Duplicate:
Use the get paramater of the url in javascript
Get query string values in JavaScript
In Javascript, how can I get the parameters of a URL string (not the current URL)?
like:
www.domain.com/?v=123&p=hello
Can I get "v" and "p" in a JSON object?