title: Javascript function this.title, this.value
body: <p>I have a form which onchange passes values to a javascript function.
  I have managed to get this.value and student.value passed but this.title does not return anything.</p>
  
  <p>How would i go about getting the title of the option?</p>
  
  <p>Thanks</p>
  
  <pre><code>&lt;form&gt;
  &lt;select id="student" style="width:100%"&gt;
  &lt;option value=""&gt;--&lt;/option&gt;
  &lt;option value=""&gt;A&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;select id="course" onchange="showarchive(this.value, this.title, student.value)" style="width:100%"/&gt;
  &lt;option value=""&gt;--&lt;/option&gt;
  &lt;option value="" title="" class=""&gt;&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>