jQuery延迟执行的实现方法

时间:2021-01-21 11:40:59
【文件属性】:
文件名称:jQuery延迟执行的实现方法
文件大小:32KB
文件格式:PDF
更新时间:2021-01-21 11:40:59
jquery jquery动画 jquery特效 本文实例讲述了jQuery延迟执行的实现方法。分享给大家供大家参考,具体如下: 做一个控件时碰到的一些无法同步处理的事件,可以用这样的延迟方法。 <html> [removed][removed] [removed] $(function(){ $('#test').bind(click,function(){ setTimeout(function(){alert($('#test').val());},800); }); $('#test').bind(blur,function(){ $('#test').val(已经赋值啦!); });

网友评论