/ Published in: jQuery
URL: clickandhold
Expand |
Embed | Plain Text
var intervalId; $(el).mousedown(function() { intervalId = setInterval(function, interval); }).mouseup(function() { clearInterval(intervalId); });
You need to login to post a comment.
