Select list - option hover

Using jQuery I have written a css class that changes the layout when hovering over a select option element.

$("#MaterialsList > option").hover(function () { $(this).toggleClass("hoverSelectOption"); }, function () { $(this).toggleClass("hoverSelectOption"); });

Open in new window

In firefox this is working perfectly, but in IE6 and IE7 nothing is showed.

Is there a solution for this problem?

Who is Participating?
mickey159Connect With a Mentor Commented:
You can try to go to jQuery's official website to ask for it.
Or you can update the jQuery version so that there are new fixes
Gurvinder Pal SinghCommented:
gerrie-govaertsAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.