[jQuery] Re: get the hover color of a link

2009-09-18 Thread Dale Larsen
nction(){ alert($(this).css('color')); }); $('.testMe a').click(); .testMe a:hover{ color:#FF6633; } W3Schools 2 On Sep 2, 4:57 pm, Dale Larsen wrote: > Well, it works. I am not sure why my first implementation wasn't > working. > > Thank you for your

[jQuery] Re: get the hover color of a link

2009-09-02 Thread Dale Larsen
Well, it works. I am not sure why my first implementation wasn't working. Thank you for your help! Kind regards, Dale Larsen On Aug 25, 6:04 am, Satyakaran wrote: > I think you need to change your approach. > :hover is not set-able by jquery . > > I tried this > &g

[jQuery] get the hover color of a link

2009-08-24 Thread Dale Larsen
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