Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] IE verses the option element onclick event
- From: peter at brunone.com (Peter Brunone)
- Subject: [Javascript] IE verses the option element onclick event
- Date: Fri Dec 30 20:32:31 2005
Seems like that would just be mySelect.options[mySelect.selectedIndex].value ...right? You can change value to text if you want the visible text of the option... Cheers, Peter From: "Roderick A. Anderson" raanders@xxxxxxx I just ran into this interesting non-feature of IE. There is no onclick event for an ( it looks like IE 6 and older ). Being new to serious Javascript'in I haven't found any example code to solve it. My searching found some code that hints at the issue here. http://www.lattimore.id.au/2005/07/01/select-option-disabled-and-the-javascript-solution/ What I'm trying to do is change an image next to the 'only' list in the document depending on which is selected.Suggestions of where to look for a QaD answer of how to determine whichwas selected when the onchange event fires for the. TIA, Rod -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051230/e72346ea/attachment.html
- Prev by Date: [Javascript] IE verses the option element onclick event
- Next by Date: [Javascript] IE verses the option element onclick event
- Previous by thread: [Javascript] IE verses the option element onclick event
- Next by thread: [Javascript] Khondoker Huq is out of the office.
- Index(es):