$(function () {
                $(document).ajaxStart(function() {
                $('#divload').html("正在请求数据...");
                });
                $(document).ajaxStop(function() {
                $('#divload').html("数据请求完成!");
                });
将document这个dom对象变成一个jQuery对象,从而可以使用jQuery对象的属性和方法。