Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] IE verses the option element onclick event


  • From: raanders at acm.org (Roderick A. Anderson)
  • Subject: [Javascript] IE verses the option element onclick event
  • Date: Thu Dec 29 20:42:56 2005

I just ran into this interesting non-feature of IE.  There is no onclick 
event for an <option /> ( 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' <select /> 
list in the document depending on which <option /> is selected.

Suggestions of where to look for a QaD answer of how to determine which 
<option /> was selected when the onchange event fires for the <select />.


TIA,
Rod
--