diff --git "a/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_24\351\200\211\346\213\251\345\231\250\344\275\234\344\270\232.html" "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_24\351\200\211\346\213\251\345\231\250\344\275\234\344\270\232.html" new file mode 100644 index 0000000000000000000000000000000000000000..2260d1a7eba058629b461ba64dcce89dd7614059 --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_24\351\200\211\346\213\251\345\231\250\344\275\234\344\270\232.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + +
+ banana + apple + orange + +
+

+ + + + \ No newline at end of file diff --git "a/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_25\350\216\267\345\217\226checked.html" "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_25\350\216\267\345\217\226checked.html" new file mode 100644 index 0000000000000000000000000000000000000000..9ee5ca90d1200cbba8173be00781f3d9fd5be3d5 --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_25\350\216\267\345\217\226checked.html" @@ -0,0 +1,54 @@ + + + + + + + Document + + + + + + +
+ + + + +
+ + + + + + + + + + + + + + + + + + + +
第一行第一行
第二行第二行
第三行第三行
第四行第四行
第五行第五行
+ + + \ No newline at end of file diff --git "a/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_28\346\234\237\346\234\253\350\200\203.html" "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_28\346\234\237\346\234\253\350\200\203.html" new file mode 100644 index 0000000000000000000000000000000000000000..243cc6489fe55a0577c0d5713f95d008d5af9ddd --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\344\275\234\344\270\232/11_28\346\234\237\346\234\253\350\200\203.html" @@ -0,0 +1,312 @@ + + + + + + + + Document + + + + + + + + + + + + + + + + + +
留言 0
+ +
+ + + \ No newline at end of file diff --git "a/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_24\345\206\222\346\263\241.txt" "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_24\345\206\222\346\263\241.txt" new file mode 100644 index 0000000000000000000000000000000000000000..d0c4ddf4db8dc07cb349cee3bf6fb8878b1bf030 --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_24\345\206\222\346\263\241.txt" @@ -0,0 +1,12 @@ +//事件阻止冒泡 + // ev.stopPropagation(); //不支持ie9以下 DOM + // event.cancelBubble = true; //ie独有 ie + //事件对象 + // ie: window.event + // 非ie: e + //事件委托(代理) + //把原本需要绑定在子元素的响应事件(click、keydown…)委托给父元素,让父元素担当事件[监听] + //阻止默认行为 + //ev.perventDefault(); + //ev.returnValue = false + // return false; \ No newline at end of file diff --git "a/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_25\351\200\211\346\213\251\345\231\250.txt" "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_25\351\200\211\346\213\251\345\231\250.txt" new file mode 100644 index 0000000000000000000000000000000000000000..9861b7f7c1fbfc39e934089b2ac8eb7c0dddcb75 --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_25\351\200\211\346\213\251\345\231\250.txt" @@ -0,0 +1,9 @@ +//Jquery css 选择器 + //基础选择器 + //层次选择器 + //后代 空格隔开 + //子代 > + //相邻 + + //同辈 ~ + //属性选择器 元素是否包含某个值 + //表单伪类选择器 \ No newline at end of file diff --git "a/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_28jQuery\345\261\236\346\200\247\350\216\267\345\217\226.txt" "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_28jQuery\345\261\236\346\200\247\350\216\267\345\217\226.txt" new file mode 100644 index 0000000000000000000000000000000000000000..cc6d9323b5a8d8c28944a7e364c1f34c206a5908 --- /dev/null +++ "b/26\350\260\242\351\207\221\351\207\221/\347\254\224\350\256\260/11_28jQuery\345\261\236\346\200\247\350\216\267\345\217\226.txt" @@ -0,0 +1,34 @@ +//操作元素的属性 + //1. 获取属性 attr prop + //自定义的DOM属性用 attr 元素本身带的属性用prop + //console.log($("div").attr("id")); + //console.log($("div").prop("id")); + + //设置属性 + //$("div").attr("name","w"); + + //移除属性 + //$("div").removeAttr("style") + + //操作元素的样式 + // attr(" "); 获取属性的值 + // attr(" "," ") 修改属性的值 + // addClass(" ")添加样式 + //css() 添加具体样式 + //removeClass 移除样式名称 + + //添加元素 + //prepend() 在被选元素在开头添加元素 + //$(A).prepentTo(B)把A添加到B开头 + //append(A) 在被选元素在结尾插入A + //$(A)appendTo(B) 把A插入到B内默认是结尾 + // before(A) 在元素前插入A + //after(A) 在元素后插入B + + //删除元素 + //remove() 包含子元素,标签和内容一起删除 + //empty() 删除元素的内容 + + //遍历元素 + //.each(i,e) + // i 是下标 e 是当前元素 \ No newline at end of file