Ajax Libraries

本文档详细介绍了通过google.load()方法及<script/>标签加载多种Ajax库的方法,包括jQuery、Prototype、Scriptaculous、MooTools和Dojo等。提供了各库的不同版本、加载请求语法、路径及依赖关系等关键信息。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Ajax Libraries

Each library is available via both google.load(), and directly via <script/> tag. The google.load() approach offers the most functionality and performance. In the sections that follow, we document all of the libraries that are available. For each library we list it's name (as in the name used in google.load(), all of the versions that we have on hand for the library, etc.

jQuery
name: jquery
versions: 1.2.3, 1.2.6
load request: google.load("jquery", "1.2.6");
extras: uncompressed:true, e.g., google.load("jquery", "1.2", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js
path(u): http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
site: http://jquery.com/
note: 1.2.5 and 1.2.4 are not hosted due to their short and unstable lives in the wild...

prototype
name: prototype
versions: 1.6.0.2
load request: google.load("prototype", "1.6.0.2");
path: http://ajax.googleapis.com/ajax/libs/prototype/1.6.0.2/prototype.js
site: http://www.prototypejs.org/

script.aculo.us
name: scriptaculous
versions: 1.8.1
load request: google.load("scriptaculous", "1.8.1");
path: http://ajax.googleapis.com/ajax/libs/scriptaculous/1.8.1/scriptaculous.js
site: http://script.aculo.us/
note: this library depends on prototype. before loading this module, you must load prototype e.g.:
 google.load("prototype", "1.6");
  google.load("scriptaculous", "1.8.1");

mootools
name: mootools
versions: 1.11
load request: google.load("mootools", "1.11");
extras: uncompressed:true, e.g., google.load("mootools", "1.11", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools-yui-compressed.js
path(u): http://ajax.googleapis.com/ajax/libs/mootools/1.11/mootools.js
site: http://mootools.net/

dojo
name: dojo
versions: 1.1.1
load request: google.load("dojo", "1.1.1");
extras: uncompressed:true, e.g., google.load("dojo", "1.1.1", {uncompressed:true});
path: http://ajax.googleapis.com/ajax/libs/dojo/1.1.1/dojo/dojo.xd.js
path(u): http://ajax.googleapis.com/ajax/libs/dojo/1.1.1/dojo/dojo.xd.js.uncompressed.js
site: http://dojotoolkit.org/
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值