删除元素,如果它有一个特定的属性
答
使用选择定位这些
$('td[style]').remove();
这个选择说抓住所有td
元素与属性风格
使用属性选择:'$('TD [风格]')。remove()' –
[JQuery的可能重复。通过属性名称删除元素。怎么样?](http://stackoverflow.com/questions/7631594/jquery-remove-element-by-attribute-name-how) –