> If this is in an onChange you use this.options[this.selectedIndex].text
> otherwise document.forms["yourformname"].yourselectbox.options[document.fo
> rms["yourformname"].yourselectbox.selectedIndex].text

Yea, that's always seemed like a lot of typing to me... which was why I
tended to do something like this:

var s = document.myform.myselectbox;
s.options[s.selectedIndex].text;

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to