摘要: $()下的常用方法: 1、has(); 2、not(); 3、filter(); 4、next(); 5、prev(); 6、find(); 7、eq(); 8、index(); 9、attr(); 1-2-3: 代码1: 运行效果依次如下: filter: not: 代码2: has:包含 运行效 阅读全文
posted @ 2017-05-15 12:02 fly-time 阅读(201) 评论(0) 推荐(0) 编辑
摘要: jquery设计思想之写法: 1、方法函数化 2、链式操作 3、取值赋值合体 window.onload = function(){};--js $(function() {}); jq(把函数写到$()参数里面) function $(){} innerHTML = 123; html(123); 阅读全文
posted @ 2017-05-15 09:45 fly-time 阅读(177) 评论(0) 推荐(0) 编辑