jQuery('div').hover(function(e){ jQuery(e.target).addClass('hoverBlock'); }, function(e){ jQuery(e.target).removeClass('hoverBlock'); });