![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
jquery
kusedexingfu
这个作者很懒,什么都没留下…
展开
-
jquery备忘录
该部分内容来源于网络收集,主要做备忘。$("parent > child")、$("A B")、$("div#test")、$("div,#test")、$(".test","div")jquery parent() parents() closest()区别原创 2016-07-15 21:42:08 · 2907 阅读 · 0 评论 -
页面中的js和jquery的执行顺序
直入主题主页面内容如下: console.log("第一个$(function() {})之前的"); $(function() { console.log("第一个$(function原创 2017-11-01 19:56:16 · 6250 阅读 · 0 评论 -
jQuery中:first和:first-child的区别
jQuery的:first选择器用于获取匹配到的第一个元素,将其封装为jQuery对象并返回。:first选择器等价于:eq(0)选择器。jQuery的:first-child选择器用于匹配作为父元素的第一个子元素的元素,将其封装为jQuery对象并返回。:first-child选择器等价于:nth-child(1)选择器。:first选择器与:first-child选择器的不同之处在于::fir...原创 2016-07-18 20:48:58 · 5868 阅读 · 5 评论