jquery暂停几秒再执行函数

2014-05-05
阅读 1 分钟
12.8k
例:window.setTimeout(function(){ location.href = loginUrl; },3000); 实现3秒后跳转到登录页面。