先把要删除的标签内容复制出来,然后在该节点前插入进去,最后删除该节点 var html = $('mark[data-]').html(); $('mark[data->html); $('mark[data-]').remove(); 相关文章: