This is my code:
$rows
.on('mouseover', '.row', function () {
$(this).find('.label').show();
})
.on('mouseout', '.row', function () {
$(this).find('.label').hide();
});
Can it be DRYed out?
You can bind both events, listen to
event.nameand then use jQuery.fn.toggleIm pretty sure you can also use jQuery.fn.hover:
or even: