Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

select option mouseover event



Apologies if this is well-known information, or if this is not the right forum for this question. I have been looking all over and haven't found any mention of this behavior.

I am trying to get the mouseover event from a select list option element. I have tried adding the event handler in the html as
onmouseover="handleMouseOver()"


and I have tried setting the handler in a script called at load time trying both
option.onmouseover=handleMouseOver;
and
option.addEventListener('mouseover',handleMouseOver,[true|false]);



All of the above work in Firefox. None work in Safari or Camino. Either in Safari 2.0 or in Safari 3.0 beta. I haven't tried IE.


I can get 1 mouseover event if I add the event handler to the select element, but I can't seem to get any events out of the options.

Is this a bug, or does Safari and/or WebKit simply not process events at the option level? And if the latter, does anyone have any suggestions how I might get around this limitation?

Thanks so much,
Linus
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Web-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/web-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.