title: javascript get selected text not value
body: <p>Is it possible to get the selected text in the <code>select</code> not its value?</p>
  
  <pre><code>&lt;select id="animals"&gt;
     &lt;option value="mammals"&gt;Elephant&lt;/option&gt;
     &lt;option value="reptile"&gt;Snakes&lt;/option&gt;
     &lt;option value="mammals"&gt;Bear&lt;/option&gt;
     &lt;option value="birds"&gt;Ostrich&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>I want to know the type of animal that is being selected.</p>
  
  <p>Thank you for all your help.</p>