且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在加载php脚本时显示加载图像

更新时间:2023-12-05 17:46:04

您可以使用 .ajaxStart() .ajaxStop() 使用jQuery的方法

You can use the .ajaxStart() and .ajaxStop() methods with jQuery

$('.log').ajaxStart(function() {
    $(this).text('Triggered ajaxStart handler.');
});