Get string from url using jQuery?
<p>Say I have <code>http://www.mysite.com/index.php?=332</code></p>

<p>Is it possible to retrieve the string after <code>?=</code> using jQuery? I've been looking around Google only to find a lot of Ajax and URL vars information which doesn't seem to give me any idea.</p>

<pre><code>if (url.indexOf("?=") &gt; 0) {
  alert('do this');
} 
</code></pre>
