How can I read a query string from js
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/901115/get-query-string-values-in-javascript">Get query string values in JavaScript</a>  </p>
</blockquote>



<p>I need a function to read query string value?</p>

<p>If I give key then the method should return the corresponding value.</p>

<p>Please help..</p>
