/ Published in: JavaScript
Expand |
Embed | Plain Text
$('my_text_field').observe('keyup',function(event){ var element = this; if (this.timer) clearTimeout(element.timer); this.timer = setTimeout(function(){ alert("Nothing Pressed for 1000ms") },1000); return true; });
You need to login to post a comment.
