试一试jquery$("p").empty();or $("span").empty();就ok了。普通js的方法:例如p的id是ppwhile(pp.firstChild){ pp.removeChild(pp.firstChild);}
replace