location.search in javascript
<p>Hi I want to know what <code>location.search.substring(1)</code> actually does. I see this code on some website. I alert but this did not give any result. does it suppose to alert location href?</p>

<pre><code>alert(location.search.substring(1))
</code></pre>
