摘要: jquery是一个轻量级javascript函数库 选择器 1.伪类选择器: :first-child 例:$('p:first-child') 表示p元素的父元素的第一子元素必须是p元素,必须位置1,否则不能获取 :last-child :nth-child(n) :nth-last-child( 阅读全文
posted @ 2018-12-05 08:22 fanbu 阅读(158) 评论(0) 推荐(0) 编辑