I wrote a little code to get some tooltips in my multiple select box,
The code is working file in FF but not in IE 🙁
ex:
$('#select > option').mouseover(function(){
alert($(this).text());
});
Can anyone help me?
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.
onmouseover will not fire for option elements in Internet Explorer. In fact, no mouse or keyboard events fire for option elements. See the msdn documentation for the events available:
http://msdn.microsoft.com/en-us/library/ms535877(VS.85).aspx
EDIT – The same is true of Google Chrome (and most likely Safari too).