jquery 1.2 高级应用--ajax
2007-11-07 00:32
831 查看
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>
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>
相关文章推荐
- 【Ajax技术】JQuery的应用与高级调试技巧
- jQuery 中 ajax 请求数据应用的一个小demo
- [jQuery知识]jQuery之知识十四-Ajax高级
- jQuery中Ajax应用操作
- 4,jquery的ajax应用-jsp
- jQuery deferred应用之ajax详细源码分析(二)
- 一个例子探究jQuery的Ajax应用(一)
- JQuery与Ajax的应用
- ajax学习第一天——基于jquery的简单应用
- playframework中ajax的应用例子(jQuery)
- jquery 简单ajax应用
- 锋利的jQuery读书笔记-第6章 jQuery与Ajax的应用
- JQuery中$.ajax()方法参数详解及应用
- jQuery获取表单各元素的值及其AJAX应用
- jQuery中ajax异步请求应用
- 模仿 JQuery的ajax方法$.get,理解js回调函数应用的方式
- JAVA高级工程师课程笔记整理——(十二)jquery和ajax
- [ PHP+jQuery ] ajax 多级联动菜单的应用:电商网站的用户地址选择功能 ( 二 ) - 仿亚马逊下拉面板
- struts2结合jquery的Ajax应用
- jQuery的ajax的form提交方法应用