Possible Duplicate:
Get query string values in JavaScript
Parse query string in JavaScript
Storing php $_GET variable in a javascript variable?
How can I mimic $_GET in JavaScript, and display the value of the $_GET, so: how can I do this kind of thing in JavaScript:
if($_GET['id'] == 1)
{
    //Do something
}
 
     
     
     
    