delay jQuery effects, using Javascript's built-in setTimeout function

Monday, April 11, 2011

sleep in JavaScript:

setTimeout(function() {                                     
    //do something                           
}, 200);

This entry was tagged jQuery and js

comments powered by Disqus

© 2009-2013 lxneng.com. All rights reserved. Powered by Pyramid

go to Top