As it happens, that's what I'm doing at the moment. this.options[this.selectedIndex].value OR this.options[this.selectedIndex].text
Depending on which you want. So far it's worked in IE and FF Matt Osbun Web Developer Health Systems, International -----Original Message----- From: Jeff Waris [mailto:[EMAIL PROTECTED] Sent: Monday, June 13, 2005 3:44 PM To: CF-Talk Subject: Quick OT Javascript question. 4:50 Ponderings... How do I grab the CURRENTLY selected option in a select list WITHOUT knowing how many options. (the options are dynamically created) Say we have in select colors Red Green <selected> Blue Document.myform.colors[1].value would be the selected one, but how would you figure that out dynamically? Thanks.. Jeff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:209352 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54