1 / 10

jQuery 介绍

jQuery 介绍. 主讲人:limodou limodou@gmail.com CPUG会课 2006/09/24. 什么是 jQuery. 一个轻量级的 ajax 库. 为什么会发现它?. 因为我希望使用 Ajax 技术在 web 中 在 Ajaxcn 上发现 之前已经了解过 mochikit,prototype.js,dojo 一发现它就深深被吸引. 它的特点. Chainability Collection of DOM elements(DOM 元素集合 ) 以 Dom Scripts 为中心 优秀的文档 丰富的插件 活跃的社区. 代码层次.

candie
Download Presentation

jQuery 介绍

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. jQuery介绍 主讲人:limodoulimodou@gmail.comCPUG会课 2006/09/24

  2. 什么是jQuery • 一个轻量级的ajax库

  3. 为什么会发现它? • 因为我希望使用Ajax技术在web中 • 在Ajaxcn上发现 • 之前已经了解过mochikit,prototype.js,dojo • 一发现它就深深被吸引

  4. 它的特点 • Chainability • Collection of DOM elements(DOM元素集合) • 以Dom Scripts为中心 • 优秀的文档 • 丰富的插件 • 活跃的社区

  5. 代码层次 • 通用层 • 核心层(jQuery对象层) • 插件接口($.fn)

  6. 神奇的$() • 用于返回一个jQuery对象 • 支持CSS1-3 selector, XPath的语法 • 可以用于创建Element元素 • $(fn)相当于$(document).read()

  7. this的处理 • 可以很好的处理$()方法中的元素,在一些事件处理中可以简单的使用匿名函数

  8. $()提供的内置方法 • Core • DOM • CSS • Javascript • Effects • Events • Ajax

  9. 我做的小东西 • jBasicExt • 与Django的结合

  10. 谢谢!

More Related