jQuery-ajaxStart方法

来源:互联网 发布:网络消费者服务热线 编辑:程序博客网 时间:2024/06/05 15:44
1.8版本以上的jquery中ajaxStart只支持绑定到document。应该是这样的。
            $(document).ajaxStart(function(){
                $("#div3").show().html("留言发送中..");
            })
            $(document).ajaxStop(function(){
                $("#div3").show().html("留言成功!");
            })


转自: http://www.imooc.com/qadetail/79086

0 0