hi,
i have this asp that has this code:
which is a pull-down menu (list box).
when i try to access the selected item, i get an error. here's the code i'm using for getting the selected option:
thanks.
i have this asp that has this code:
Code:
<form name=frm2>
<SELECT NAME="sortby" SIZE="1">
<OPTION>Select Sort Option</option>
<OPTION>Sort By Name</option>
<OPTION>Sort By Housing Unit</option>
</SELECT>
</form>
when i try to access the selected item, i get an error. here's the code i'm using for getting the selected option:
Code:
sort_option = document.frm2.sortby.options _
(frm2.sortby.options.selectedindex).text
thanks.