setTimeout timer

Make a div appear after page three seconds

   $(function () {
    setTimeout(function () {
        $("#login").show();
    }, 2000);

 

Guess you like

Origin www.cnblogs.com/dingboyang/p/10990816.html