getting selected select box text
<p>i am trying to use like </p>

<pre><code>var modelLength     = document.getElementsByName("FK_BrandID")[0].text;
</code></pre>

<p>when i try to alert this it prints only undefined.. is this not proper..?</p>
