remove/unbind hover on anchors...

Posted by Reigel on Stack Overflow See other posts from Stack Overflow or by Reigel
Published on 2010-04-22T06:40:30Z Indexed on 2010/04/22 6:43 UTC
Read the original article Hit count: 313

Filed under:
|

html

<a href="home.html">Home</a>

css

a {
   color: blue;
}
a:hover {
   color: red;
}

now as you can see <a> now would be color red on hover.

Question
How do I remove hover via jQuery?
I have tried: $('a').unbind('hover'); and $('a').unbind('mouseenter mouseleave')

I come to think why it won't work, is this not hover()?
Please enlighten me... thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about unbind