getting a url querystring's values
<p>Using jquery, how do I get the values of each field in a url querystring? (I'm referring to the search= value and offset= value etc.) Sometimes its more than just these three.</p>

<pre><code>&lt;a href="search=sony&amp;offset=20&amp;lang=en" class="more_info"&gt;Read More&lt;/a&gt;
&lt;a href="search=sony&amp;offset=20&amp;lang=en&amp;period=3" class="more_info"&gt;Read More&lt;/a&gt;
</code></pre>

<p>I tried using <code>$(".more_info").attr("search")</code>, which should have worked, but doesn't.</p>
