【发布时间】:2014-09-01 16:27:50
【问题描述】:
我正在尝试弄清楚如何使用 jQuery 在此处删除破折号和冒号。有办法吗?到目前为止,我已经尝试过.empty 和.remove,但很遗憾,我无法让它工作。
<p class="meta">
<strong>Author Name</strong>
– <-- remove this
<time>June 7, 2013</time>
: <-- remove this
</p>
【问题讨论】:
标签: jquery dom dom-manipulation