嗨,你能帮我在这种情况下如何提取“Men”文本吗?
<div class="comwebstore-LeftNavBrowse-2">
<ul class="linkList browseLadder">
<li>
<a href="example.com"> Men </a>
</li>
<ul class="linkList browseLadder">
<li>
<a href="example.com"> Full Logo T-Shirt </a>
</li>
<li>
<a href="example.com"> Short Logo T-Shirt </a>
</li>
<li>
<a href="example.com"> Grey Hoodie 1 Full Logo </a>
</li>
<li>
<a href="example.com"> Grey Hoodie 2 Short Logo </a>
</li>
<li>
<a href="example.com"> Women </a>
</li>
<li>
<a href="example.com"> Accessories </a>
</li>
</ul>
</ul>
</div>
</div>
我试过了
jQuery('#mainContentWrapper #leftColumn #A #A-1 .com-amazon-webstore-LeftNavBrowse-2 > :first-child a').text();
但没有成功。谢谢