jquery
Kasekale
这个作者很懒,什么都没留下…
展开
-
1jquery选择元素
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="jquery-3.2.1.min.js"></script></head><body> <div id="div1" class="box">div</div>原创 2017-09-07 22:07:25 · 189 阅读 · 0 评论 -
04jquery之原生关系和链式操作
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="jquery-3.2.1.min.js"></script> <script> $(function(){ // var oDiv原创 2017-09-08 08:29:17 · 220 阅读 · 0 评论 -
05jquery取值赋值
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <style> #div1{ border:3px solid pink; background: orange; } </原创 2017-09-08 08:43:02 · 278 阅读 · 0 评论 -
06jquery filternot has
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="jquery-3.2.1.min.js"></script> <script> $(function(){ //$("div").原创 2017-09-08 09:07:28 · 267 阅读 · 0 评论 -
07next
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script src="jquery-3.2.1.min.js"></script> <script> $(function(){ $(".div1").原创 2017-09-08 09:37:16 · 193 阅读 · 0 评论 -
01Jquery源码解析
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title> <script> (function(){ var a = 10; function $(){ alert(a原创 2017-10-02 12:02:53 · 750 阅读 · 0 评论 -
04jQuery源码解析
<!doctype html><html lang="en"><head> <meta charset="UTF-8"> <title>Document</title><script> (function(window){ })(window); //传参window:1查找速度变快 2在压缩的时候很有用 //undefined在IE789的浏览器下是原创 2017-10-02 12:47:11 · 329 阅读 · 0 评论 -
05jQuery源码解析
location = window.location,document = window.document,docElem = document.documentElement,存成变量有利于压缩操作_jQuery = window.jQuery_$ = window.$防冲突的设计:其他的库中可能也有$面向对象function Obj(){}Obj.prototype.ini原创 2017-10-02 13:25:59 · 472 阅读 · 0 评论 -
08jQuery源码解析
constructor :修正指向问题init :初始化和参数管理原创 2017-10-02 14:20:51 · 581 阅读 · 0 评论