Adding/Removing Class on Hover

0
0
$('#elm').hover(
       function(){ $(this).addClass('hover') },
       function(){ $(this).removeClass('hover') }
)

This will work in any browser on any element, to support styling changes on hover.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.