Getting Selected name of a dropdown using Javascript
<p>I have created one dropdown box </p>

<pre><code>&lt;select name="select" id="selectId"&gt;
&lt;option id="" value="calendar_Second_Calendar_1285942672.xml"&gt;Second Calendar&lt;/option&gt;
&lt;option id="" value="calendar_First_Calendar_1285932160.xml"&gt;First Calendar&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>I can get the selected drop down box value using </p>

<pre><code>document.getElementById("selectId").value
</code></pre>

<p>How i can get the name where user is seeing i mean (Second Calendar or First Calendar)</p>
