/ Published in: jQuery
Expand |
Embed | Plain Text
$('#my_awesome_element').click(function(event){ var element = this; if (this.timer) clearTimeout(element.timer); this.timer = setTimeout(function(){ console.log("Nothing Pressed for 1000ms"); },1000); return true; });
You need to login to post a comment.
