How to extract string values from a URL?
<p>I want to extract following values from the url mentioned below? </p>

<ul>
<li>layout2</li>
<li>aqua</li>
</ul>

<p><strong>code:</strong></p>

<pre><code>var url = "http://localhost:8080/dflyers/edit.html?layout2&amp;aqua"
var dataLayout = // I need url string (layout2) here
var dataTheme = // I need url string (aqua) here
</code></pre>

<p>Can some one help to get mentioned values using jQuery/Javascript? Thanks</p>
