title: object HTMLSelectElement accessing value through this keyword
body: <p>The below code doesn't it print the value.  </p>
  
  <pre><code>function go(x)
  {
     alert(x.options.selectedIndex.value);
     //location=document.menu.student.options[document.menu.student.selectedIndex].value
  }
  </code></pre>
  
  <p>this is the html code</p>
  
  <pre><code>&lt;select name="student" onChange="go(this)"&gt;
      &lt;option selected&gt; Student &lt;/option&gt;
      &lt;option value="http://www.cnet.com"&gt;Attendence&lt;/option&gt;
      &lt;option value="http://www.abc.com"&gt;Exams&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>