1
<a href="/" title="Go to homepage">Homepage</a> text after link;
<a href="/" title="About">About</a> text after link;
<a href="/" title="Contact Us">Contact Us</a> text after link;
没有问题:我可以删除该链接:
$("a:contains('Homepage')").remove();
我的问题:如何去除链接后的文本以前删除:
text after link
在此先感谢。
令人惊讶的是,它的工作原理。谢谢尼克。 – josoroma 2010-07-19 02:54:35
@josoroma - 欢迎:) – 2010-07-19 02:55:45