jquery 1.1中文手册 http://www.cn-cuckoo.com/jquery/cnapi/jquery_a110.xml http://jquery.org.cn/visual/cn/index.xml < HTML > < SCRIPT LANGUAGE ="JavaScript" src ="jquery1.2.js" ></ SCRIPT > < SCRIPT LANGUAGE ="JavaScript" > ... <!--$(function ()...{ $("#loading").ajaxStart(function()...{ $(this).show(); }); $.ajax(...{ type: "POST", url: "demoserver.php", data: "name=John&location=Boston", dataType: "html", success: function (msg)...{ $("#msg").html(msg); } }); $("#loading").ajaxStop(function()...{ $(this).hide(); }); });//--> </ SCRIPT > < BODY > < div id ="loading" style ="display:none" > Loading...... </ div > < div id ="msg" ></ div > < div id ="error" ></ div > < div id ="sucess" ></ div > </ BODY > </ HTML >