/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var intervalId; $(el).mousedown(function() { intervalId = setInterval(function, interval); }).mouseup(function() { clearInterval(intervalId); });
URL: clickandhold