<div class="breadcrumbs">
<a title="Go to Page." href="http://www.domain.com/dev" class="home">Home Page</a> > <a title="Go to the News category archives." href="http://www.domain.com/dev"/topics/news/" class="taxonomy category">News</a> > <span>News</span>
</div>
Run Code Online (Sandbox Code Playgroud)
在上面的例子中有2个分隔符,我使用以下内容jQuery('.breadcrumbs .category').remove();删除了新闻的链接,但这让我失望
<div class="breadcrumbs">
<a title="Go to Page." href="http://www.domain.com/dev" class="home">Home Page</a> > > <span>News</span>
</div>
Run Code Online (Sandbox Code Playgroud)
什么是删除其中一个的最佳方法>?