How would I go about getting an <a> element's :hover color with
jQuery? I've tried the following non-jQuery version, but it seems to
only return the element's regular color, not the :hover color:

var theLink = document.getElementsByTagName('a')[3];
document.defaultView.getComputedStyle(theLink,
'hover').getPropertyValue('color');

Cheers.


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to