ulliclass=title小明lili小花liul根据上述代码使用jQuery的层次选择器表示兄弟、父子、祖先关系______可选取小花所在的li标签
$("ul li:last-child")
或
$("ul > li:last-child")
或
$("ul li:nth-child(2)")
或
$("ul li:eq(1)")
原文地址: http://www.cveoy.top/t/topic/bgb1 著作权归作者所有。请勿转载和采集!
安全问答是一个知识全球问答,包含丰富的问答知识
$("ul li:last-child")
或
$("ul > li:last-child")
或
$("ul li:nth-child(2)")
或
$("ul li:eq(1)")
原文地址: http://www.cveoy.top/t/topic/bgb1 著作权归作者所有。请勿转载和采集!