Posted By

jillella on 07/13/12


Tagged

jquery CSS-Tricks


Versions (?)

Adding/Removing Class on Hover


 / Published in: JavaScript
 

  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.