JQuery 之empty and remove

$("table tr[id^=trAddColumn]").remove();//删除tr本身的内容。empty只能删除自己孩子节点的内容

猜你喜欢

转载自zengshaotao.iteye.com/blog/2405692