With JQuery, use the syntax: $([selector]).mouseover([function]);
and $([selector]).mouseout([function]);
. Like:
$("a img").mouseover(function() {
console.log('mouseenter');
$(this).parent().next().find('.b').stop().animate({"opacity": "1"}, 600);
});