SHARE
TWEET

Untitled




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <input type='text' name='text1' onkeyup='exec(this.value);'/>
- <script>
- exec = function(textdata) { alert(textdata); }
- </script>
- <input type='text' name='text1' onkeyup='exec(this.value);'/>
- <script>
- var timer; //This needs to be a global variable
- exec = function(textData){
- clearTimeout(timer);
- timer = setTimeout(function(){ alert(textData) }, 2000);
- }
- </script>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.