摘要: jQuery parent() 方法 parent() 方法返回被选元素的直接父元素。 该方法只会向上一级对 DOM 树进行遍历 jQuery parents() 方法parents() 方法返回被选元素的所有祖先元素,它一路向上直到文档的根元素 (<html>)。 jQuery parents([ 阅读全文
posted @ 2017-11-09 16:29 董永辉Bruno 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-09 09:39 董永辉Bruno 阅读(156) 评论(0) 推荐(0) 编辑