See http://jsfiddle.net/cgWdF/3/
Works fine in every browser*, except the latest Opera.
*Haven’t tested below IE9
Should have specified, It needs to return true or false, I’m not using it to bind an event.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
jQuery’s
.hoverworks in Opera 12.Fiddle
Or, using
.datato store the hovered status and test against it (similar to your original fiddle):Fiddle