会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Believable
CnBlogs
Home
New Post
Contact
Admin
Subscription
2016年11月6日
JQ first-child与:first的区别以及nth-child(index)与eq(index)的区别
1.first-child和:first区别 first-child 是指选取每个父元素的第一个子元素 如$("div:first-child")指每个父级里的第一个div孩子 :first 是指选取第一个元素 如$("li:first")值得是整体第一个li标签 两个在数量上有很大区别,first
Read More
posted @ 2016-11-06 20:16 Believable
Views(977)
Comments(1)
Diggs(0)
公告