Cancel Events
Too bad the element does not have mind-reading abilities. It does not
really care about what you want, you know. It behaves the way it is
designed to behave. Your job is to deal with it.
What are you really trying to achieve? Can't you, for example, remember
the value of selectedIndex property in a global variable somewhere, and
ignore the event if the new value of the property is the same as the old
value?
--
With best wishes,
Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken
|