I need to get the css hover color of an element. Since hover is a
pseudo class of a class or id, I do not see a way of returning the
color.

I tried:

$('.contentArea a:hover').css('color');

but it does not return the hover color.

I understand that jQuery probably traverses the inline styles and
there is no way to set the hover  pseudo class inline, hence the
reason for the .hover function.

Is it possible to find and return the hover color with jQuery. If so
how?

Reply via email to