我有HTML:
<td><span class="dott active green"></span> Firstname Lastname</td>
如何通过jQuery删除此范围以获取此信息:
<td>Firstname Lastname</td>
答案 0 :(得分:0)
试试这个:
<td id="myTd"><span class="dott active green"></span> Firstname Lastname</td>
$('#myTd').find('span').remove();