js 延时


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

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