 <p>Is working fine for me, please check the following code:</p> <p>$('input').bind('click mouseup mousedown', function(event) { // some code for a click event</p> <pre><code>if (event.type == 'mousedown'){ console.log('mousedown'); $(this).addClass('active'); } if (event.type == 'mouseup'){ console.log('mouseup'); $(this).removeClass('active'); } //console.log(event.type); </code></pre> <p>}); <a href="http://jsfiddle.net/rpfHw/3/" rel="nofollow">http://jsfiddle.net/rpfHw/3/</a></p> <p>Best</p>