jquery find(jQuery中find和filter的区别)
一、jQuery中find和filter的区别
1、调用这两个函数,返回的值不一样2、find()会在div元素内寻找class为**的元素,而filter()则是筛选div的class为***的元素3、他们是jQuery里常用的2个方法,但是功能不一样4、find:指定的对象集合下进行查找;filter:指定的对象集合进行过滤
二、jquery遍历包括
jQuery遍历方法有:each()、end()、eq()、filter()、find()、first()、is()、map()、last()、next()、nextAll()、nextUntil()、offsetParent()等等。