js 延时


alert(1);
setTimeout(function(){alert(2);}, 1000);
setTimeout(function(){alert(3);}, 2000);

posted @ 2014-12-20 11:32  fleam  阅读(151)  评论(0)    收藏  举报