No problem, even though I forgot the options part :)
----- Original Message ----- 
From: "Ewok" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Saturday, May 31, 2003 3:12 AM
Subject: Re: js question


> 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

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

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

Reply via email to