我需要帮助(我相信)非常简单的选择器。这是HTML:jquery - 从第二个标签中选择文本
<a href="http://localhost/index.php?action=profile;u=3" target="_blank">
<img src="http://localhost/index.php?action=dlattach;attach=44;type=avatar" alt="" style="max-width: 16px; max-height: 16px; vertical-align: middle;">
</a>
<a href="http://localhost/index.php?action=profile;u=3" target="_blank" style="color:#8c121a">profilename</a>
我在做什么是捕捉到的IMG标签点击,然后我想从二号标签的“PROFILENAME”的文字。
感谢您的帮助!
'父()。下一个()。文本()' – mplungjan
就像一个魅力。谢谢。 – saturnusringar