jQuery Long Click Event Demo Example

#clickable_area

Click me!

This area can be both clicked and long-clicked by pressing and holding for half a second

$('#click').click(500, function(){ ... }) $('#click').click(function(){ ... })