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');
});
精彩评论