Answers for "how to trigger a function after stop writing in input text jquery event"

0

how to trigger a function after stop writing in input text jquery event

var x_timer;
$("#input-box"). keyup(function (e){
clearTimeout(x_timer);
var user_name = $(this). val();
x_timer = setTimeout(function(){
// callback_function();
console. log("user stopped");
}, 1000);
Posted by: Guest on March-14-2022

Code answers related to "how to trigger a function after stop writing in input text jquery event"

Code answers related to "Javascript"

Browse Popular Code Answers by Language