On a page, I have a select (multiple) box with many options. Now I want to react on the last clicked item to display some data with ajax.
As the "click" event on the option element does not work in IE, I currently use the "change" event.
The problem is, that the "value" and the selectedIndex attribute point to the first selected item, even if I select other options following the first.
The only way I could get the most recently selected option is by comparing the set of selected options before and after the "change" event.
Is there any other way?