title: how to get HTTP GET request value using javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/901115/how-can-i-get-query-string-values">How can I get query string values?</a>  </p>
  </blockquote>
  
  
  
  <p>how can I get the HTTP GET request using javascript?</p>
  
  <p>for example if I have access <code>www.sample.com/div/a/dev.php?name=sample</code></p>
  
  <p>how can I get the GET request of <code>name=sample</code> and the value if <code>name</code> which is <code>sample</code>?</p>