function afterTypeProcess(){
//Dosomething
}
var timeid;
$("input").keyup(function(){
clearTimeout(timeid);
timeid = setTimeout(afterTypeProcess, 5000);
});
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
127 次 |
| 最近记录: |