title: Retrieving the text of the selected <option> in <select> element
body: <p>In the following: </p>
  
  <pre><code>&lt;select id="test"&gt;
      &lt;option value="1"&gt;Test One&lt;/option&gt;
      &lt;option value="2"&gt;Test Two&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>How can I get the text of the selected option (i.e. "Test One" or "Test Two") using JavaScript</p>
  
  <p><code>document.getElementsById('test').selectedValue</code> returns 1 or 2, what property returns the text of the selected option?</p>