Posted By

icecreamboyy on 03/26/11


Tagged

jquery


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

coryschadt
maltem
jillella


add/remove class on hover


 / Published in: jQuery
 

  1. $('#elm').hover(
  2. function(){ $(this).addClass('hover') },
  3. function(){ $(this).removeClass('hover') }
  4. )

Report this snippet  

You need to login to post a comment.