开发者

ajax indicator before complete loading

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜