I need to grab the text value of a child div.
A B> 8条回答 南笙 (楼主) 2021-02-04 02:27 If you need to go into lists, use this: jQuery('.first > ul > li:nth-child(6)').text(); Example code gets the value of the 6th item in a list. 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
If you need to go into lists, use this:
jQuery('.first > ul > li:nth-child(6)').text();
Example code gets the value of the 6th item in a list.