Select list - option hover

Posted on 2010-09-21
Last Modified: 2013-11-08
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?

Question by:gerrie-govaerts
LVL 40

Expert Comment

ID: 33723582

Accepted Solution

mickey159 earned 250 total points
ID: 33873598
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

Author Closing Comment

ID: 33922037

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PROBLEM: The other day I was working on adding an ajax request to a webpage that already had a dialog box on the page.  The dialog box was using relative positioning to be positioned next to a form field I had on the page.  Everything was working…
Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now