Revision: 17225
Updated Code
at August 27, 2009 20:41 by vladikoff
Updated Code
var intervalId; $(el).mousedown(function() { intervalId = setInterval(function, interval); }).mouseup(function() { clearInterval(intervalId); });
Revision: 17224
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 27, 2009 20:40 by vladikoff
Initial Code
Thu, 13 Nov 2008 05:25:46 -0800 This type of question is really better suited for the jquery-en group, as this group is specific to jQuery UI plugins. Something like this should work: var intervalId; $(el).mousedown(function() { intervalId = setInterval(function, interval); }).mouseup(function() { clearInterval(intervalId); });
Initial URL
clickandhold
Initial Description
Initial Title
jquery click and hold
Initial Tags
Initial Language
jQuery