2016年11月17日
摘要: 这一节针对attr()与prop()之间的区别进行学习。先看看官方文档是如何解释两者之间功能差异的: attr() Get the value of an attribute for the first element in the set of matched elements or set on 阅读全文
posted @ 2016-11-17 20:59 Pеcu❤lian 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 这一节详细的总结jQuery选择器。 一、基础选择器 二、基本过滤器 基本选择器获取的元素集合,通过过滤器的筛选,使选择更加精确。 三、内容过滤器 jQery准备了内容过滤器用于对选择的元素集合内容进行过滤。 统一名称: 空元素:不包含任何后代元素或文本内容的元素,如<div></div> 非空元素 阅读全文
posted @ 2016-11-17 20:57 Pеcu❤lian 阅读(257) 评论(0) 推荐(0) 编辑