上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 一、events.EventEmitter 1、All objects that emit events are instances of the EventEmitter class. (来自:https://nodejs.org/dist/latest-v6.x/docs/api/events. 阅读全文
posted @ 2016-05-20 13:23 DeadGhost 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 一、get(num)方法 【返回(DOM)元素对象】 1、源码如下: //是对'(类)数组'下标访问方式的封装 可以使用[i]方法取得同样的效果 获得对当前元素的引用 2、slice()源码如下: 二、eq(i)方法 【返回jQuery对象】 1、源码分析 2、使用end()方法可以查看原'堆栈'的 阅读全文
posted @ 2016-05-20 13:19 DeadGhost 阅读(196) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/aaronjs/p/3387278.html 阅读全文
posted @ 2016-05-20 13:18 DeadGhost 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一、源码分析 1、源码如下: 二、JavaScript中Array.slice(start,end)方法 //返回(DOM)元素对象 //截图来自http://www.w3school.com.cn/jsref/jsref_slice_array.asp 阅读全文
posted @ 2016-05-20 13:17 DeadGhost 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 一、.filter()方法 1、http://api.jquery.com/filter/#filter-selection 二、.has()方法 1、http://api.jquery.com/has/ 三、.map()方法 1、http://api.jquery.com/map/ 四、.not( 阅读全文
posted @ 2016-05-20 13:15 DeadGhost 阅读(156) 评论(0) 推荐(0) 编辑
摘要: http://api.jquery.com/category/manipulation/ http://www.w3school.com.cn/jquery/jquery_ref_manipulation.asp http://www.w3school.com.cn/jquery/jquery_re 阅读全文
posted @ 2016-05-20 13:14 DeadGhost 阅读(60) 评论(0) 推荐(0) 编辑
摘要: 一、.is()方法 1、检查是否包含指定特征的元素 二、.toArray()方法 1、转换jQuery对象为数组 三、pushStack()方法 1、将一个DOM元素集合加入到jQuery栈中 四、.add()方法 1、把与表达式匹配的元素与原来的jQuery对象中的元素合并,形成一个新的jQuer 阅读全文
posted @ 2016-05-20 13:14 DeadGhost 阅读(132) 评论(0) 推荐(0) 编辑
摘要: http://www.w3school.com.cn/jquery/jquery_ref_traversing.asp 阅读全文
posted @ 2016-05-20 13:13 DeadGhost 阅读(102) 评论(0) 推荐(0) 编辑
摘要: http://api.jquery.com/category/events/ 注:较高版本中已被移除或者不推荐使用的事件 注:较高版本中已被移除或者不推荐使用的事件 注:较高版本中已被移除或者不推荐使用的事件 阅读全文
posted @ 2016-05-20 13:12 DeadGhost 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1、.prop(attrName) //对单个元素的操作 (1)$(selector).prop(attrName); //返回jQuery对象中第一个元素的attr属性的值 若没有设置attrName属性 则返回undefined。 //可以通过.map()或者.each()遍历当前jQuery对 阅读全文
posted @ 2016-05-20 13:03 DeadGhost 阅读(364) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页