title: How to redirect to a new window after click on option of select about html?
body: <p>For example:</p>
  
  <pre><code>&lt;select&gt;
    &lt;option value=''&gt;Select...&lt;/option&gt;
    &lt;option value='http://www.google.com'&gt;Google&lt;/option&gt;
    &lt;option value='http://www.yahoo.com'&gt;Yahoo&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I want to redirect the selected site in a new window, such as link's attributes:</p>
  
  <pre><code>target='_blank'
  </code></pre>
  
  <p>I have found:</p>
  
  <pre><code>&lt;select onchange="this.options[this.selectedIndex].value &amp;&amp; (window.location = this.options[this.selectedIndex].value);"&gt;
  </code></pre>
  
  <p>But it can only redirect to the site on current page.</p>