2016-04-16 26 views

回答

1

嘗試使用 $('#element *').removeAttr('style')刪除封閉元素中的所有樣式的元素。 或使用 $('#element').children().removeAttr('style')刪除封閉元素的子元素的樣式。