i have this code:
<SELECT NAME="quarter" SIZE="1">
<OPTION>Select a Quarter</option>
<OPTION>2005-Q1</option>
<OPTION>2005-Q2</option>
</SELECT>
I'm trying to get the value of the selected option. what would the code look like. i have this:
quarter = frm1.quarter.options _
(frm1.quarter.options.selectedindex).text
but it comes back an error, saying "object requred"
thanks.
<SELECT NAME="quarter" SIZE="1">
<OPTION>Select a Quarter</option>
<OPTION>2005-Q1</option>
<OPTION>2005-Q2</option>
</SELECT>
I'm trying to get the value of the selected option. what would the code look like. i have this:
quarter = frm1.quarter.options _
(frm1.quarter.options.selectedindex).text
but it comes back an error, saying "object requred"
thanks.