//循环去掉a和u标签
$("tbody a").each(function(){
var xx=$(this).find("u").html();
$(this).replaceWith(xx);
});
//去掉u标签
$("a u").each(function(){
var xx=$(this).html();
$(this).replaceWith(xx);
})
时间: 2024-08-01 11:37:31