Jquery how to set params when option is clicked?
<p>This is my HTML:</p>

<pre><code>&lt;select style="color:#666666;font-size:11px;" name="sort" id="sort"&gt;&lt;option value="1"&gt;senest tilføjet&lt;/option&gt;
&lt;option value="rating"&gt;highest rating&lt;/option&gt;
&lt;option value="ratings"&gt;most votes&lt;/option&gt;
&lt;option value="created_at"&gt;after latest date&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I want to sort the params depending on the selected option.</p>

<p>Example: If the user choose to sort after highest rating, the page would update and have the params: <code>?sort=rating</code> in the url.</p>
