I'm struggling with the fundamentals of syntax. I am attempting to utilize jQuery in order to target all elements within a certain CSS class, and then apply a function when the user hovers over the item.
$(".item").hover(function(){$(this).fadeTo(100, .1)});
Is it feasible to assign distinct functions for both onmouseenter and onmouseleave events? I'm having some difficulty finding similar examples of this code.