how can i get the last div with class a in a div the id = test ? in this case i have to get the div with content = 1000
3条回答 半阙折子戏 (楼主) 2020-12-13 14:21 You can use the :last pseudo-selector: $('#test div.a:last') 0 讨论(0) 查看其它3个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
You can use the :last pseudo-selector:
$('#test div.a:last')