I want to change a div css only on mousedown event with jQuery.
$('#xxx').mousedown(function (e) {
$("#xxx").animate({
height: '600px',
width: '600px'
}, 'slow');
})
The problem is that it runs on mouse click too and I want event called only on mousedown event.