How can I get the text from a select box with jQuery?
<p>I have the following code:</p>

<pre><code>&lt;select id="SubjectID"&gt;&lt;option value='00'&gt;Select Subject&lt;/option&gt;
&lt;option value=01 selected='selected'&gt;Software&lt;/option&gt;

&lt;option value=02&gt;Psychology&lt;/option&gt;
&lt;option value=03&gt;Database&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I use $('#SubjectID').val() to get the value such as "01". </p>

<p>How can I get the text of the selected option with jquery?</p>
