`
yangyou230
  • 浏览: 1650397 次
文章分类
社区版块
存档分类

总结jquery里面的Traversing函数

 
阅读更多

jquery有着非常强大的traversing函数,在这里总结一下:


//基本选择器
$()


//在基本的基础上修改选择
add()
not()
andSelf()


//通过位置过滤选择
eq()
first()
last()
slice()


//过滤选择
filter()
has()
is()//does not create a new jQuery object


//爷类或者孙类
closest()
find()


//邻居
next()
nextAll()
nextUntil()
prev()
prevAll()
prevUntil()
siblings()


//父类或者子类
parent()
parentsUntil()
children()
contents()


//iteration
each()
map()

//停止选择
end()

分享到:
评论

相关推荐

    jQuery技术内幕 深入解析jQuery架构设计与实现原理

    进而通过“构造jquery对象”章节分析了构造函数jquery()的各种用法和内部构造过程;接着详细分析了底层支持模块的源码实现,包括:选择器sizzle、异步队列deferred、数据缓存data、队列queue、浏览器功能测试support...

    jquery插件使用方法大全

     jquery提供了很多便利的函数,如each(fn),但是使用这些函数的前提是:你使用的对象是Jquery对象。使一个Dom对象成为一个Jquery对象很简单,通过下面一些方式(只是一部分): 代码 var a = $("#cid"); var b = $...

    JQUERY技术内幕:深入解析QUERY架构设计与实现原理 完整版 共两个包

    进而通过“构造jquery对象”章节分析了构造函数jquery()的各种用法和内部构造过程;接着详细分析了底层支持模块的源码实现,包括:选择器sizzle、异步队列deferred、数据缓存data、队列queue、浏览器功能测试support...

    Eclipse 常用快捷键 jQuery Event

    Eclipse 常用快捷键 元素事件列表说明 JQuery Effects , JQuery Traversing , JQuery Selectors , JQuery CSS 方法说明

    jQuery技术内幕:深入解析jQuery架构设计与实现原理

    第二部分(第2章)详细介绍和分析了构造函数jQuery()的用法、构造过程、原型属性和方法、静态属性和方法。 第三部分(第3~7章)详细分析了底层支持模块的源码实现,包括选择器Sizzle、异步队列Deferred Object、...

    jquery源文件版本1.7.2

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jquery技术内幕:深入解析jquery架构设计与实现原理 完整版第二个包

    进而通过“构造jquery对象”章节分析了构造函数jquery()的各种用法和内部构造过程;接着详细分析了底层支持模块的源码实现,包括:选择器sizzle、异步队列deferred、数据缓存data、队列queue、浏览器功能测试support...

    jQuery 1.5 API 中文版

    Traversing Filtering $.eq( index ) $.first( ) $.last( ) $.has( selector ), .has( element ) $.filter( selector ), .filter( fn(index) ) bool.is( selector ) $.map( fn(index, element) ) $.not( selector ),...

    jquery 1.7.1

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jQuery is a fast and concise JavaScript Library

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jquery入门(2012年版)

    Chapter 3: Traversing the DOM 29 Chapter 4: DOM Manipulation with jQuery 43 Chapter 5: An Introduction to Events59 Chapter 6: More Events 71 Chapter 7: Animation 83 Chapter 8: Ajax with jQuery ...

    JQuery.chm与开发代码

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jQueryAPI.rar_event

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jquery做的飞行的乌鸦

    jQuery 是一个快速、简单的JavaScript library, 它简化了HTML 文件的traversing,事件处理、动画、Ajax 互动,从而方便了网页制作的快速发展。 jQuery 是为改变你编写...

    JQuery_API文档中文版

    jQuery 是一个快速、简单的JavaScript library, 它简化了HTML 文件的traversing,事件处理、动画、Ajax 互动,从而方便了网页制作的快速发展。 jQuery 是为改变你编写JavaScript 的方式而设计的。

    jquery mini zip

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    jQuery-1.7.1

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    JQuery1.7 Release

    jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the ...

    西门子排线解决方案(Traversing)英文版.rar

    西门子排线解决方案(Traversing)英文版rar,西门子排线解决方案(Traversing)英文版

    jQuery Validate初步体验(一)

    jQuery 是一个快速、简单的JavaScript library, 它简化了HTML 文件的traversing,事件处理、动画、Ajax 互动,从而方便了网页制作的快速发展。 jQuery 是为改变你编写JavaScript 的方式而设计的。 jQuery Validate ...

Global site tag (gtag.js) - Google Analytics