title: <select> list of hyperlinks: onchange="location=this.options[this.selectedIndex].value" or onchange="location=this.value"
body: <pre><code>&lt;select onchange="location = this.options[this.selectedIndex].value;"&gt;
  &lt;option value="myhome.html"&gt;My Home Page&lt;/option&gt;
  &lt;option value="myresume.html"&gt;Resume&lt;/option&gt;
  &lt;option value="myhobbies.html"&gt;Hobbies&lt;/option&gt;
  &lt;option value="mydog.html"&gt;My Dog&lt;/option&gt;
  &lt;/select&gt;
  
  
  &lt;select onchange="location = this.value;"&gt;
  &lt;option value="myhome.html"&gt;My Home Page&lt;/option&gt;
  &lt;option value="myresume.html"&gt;Resume&lt;/option&gt;
  &lt;option value="myhobbies.html"&gt;Hobbies&lt;/option&gt;
  &lt;option value="mydog.html"&gt;My Dog&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>The first method is taken from <a href="http://www.faqs.org/docs/htmltut/forms/_SELECT_onChange.html" rel="nofollow">http://www.faqs.org/docs/htmltut/forms/_SELECT_onChange.html</a>, but the second method (which I've used) works fine. Is the second method incorrect?</p>
  
  <p>Thank you.</p>