thanks Kwang :)

----- Original Message -----
From: "Kwang Suh" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 11:09 PM
Subject: Re: js question


> document.formname.blah[document.formname.blah.selectedIndex].text
>
> ----- Original Message -----
> From: "Ewok" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Saturday, May 31, 2003 2:42 AM
> Subject: OT: js question
>
>
> > im trying to get the displayed text from a select field (not the value)
> >
> > <select name="blah" size="1">
> > <option value="1">Option One</option>
> > </select>
> >
> > I know document.formname.blah.value would return "1", is there a way to
> > return "Option One" when that option is selected?
> >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to