I am using mouseenter and mouseleave events on some elements to change their appearance. I am able to do so using either of the following two strategies:
$(this).css('someProperty','someValue')to add and then$(this).removeAttr('style')to remove$(this).addClass('someClass')to add and then$(this).removeClass('someClass')to remove
What is the best way to do so?