find

阅读数:862 发布时间:2016-09-30 09:27:10

作者:w4why 标签: find zepto

find

find(selector) ⇒ collection

find(collection) ⇒ collection v1.0+

find(element) ⇒ collection v1.0+

在当对象前集合内查找符合CSS选择器的每个元素的后代元素。

如果给定Zepto对象集合或者元素,过滤它们,只有当它们在当前Zepto集合对象中时,才回被返回。

var form = $('#myform')
form.find('input, select')

相关文章推荐: