title: Changing URL through html select
body: <p>What is the best way to change your URL through an html select?</p>
  
  <pre><code>&lt;select&gt;
  &lt;option selected="selected"&gt;Change to URL X&lt;/option&gt;
  &lt;option&gt;Change to URL Y&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>What Javascript should be used?</p>