开发者

ajax indicator before complete loading

开发者 https://www.devze.com 2022-12-11 17:04 出处:网络
How can I display an ajax in开发者_如何学Godicator before all the images within a website layout were loaded?

How can I display an ajax in开发者_如何学Godicator before all the images within a website layout were loaded?

Thanks in advance.


Use JQuery. Please.

    $("#loading").ajaxStart(function() {
        $(this).show();
    });
    $("#loading").ajaxStop(function() {
        $(this).addClass('ohmy').hide('slow');
    });
0

精彩评论

暂无评论...
验证码 换一张
取 消