I know how to remove attribute from a single element, there are already some posts about that:
$(\"div.preview\").removeAttr(\"style\");
Th
You could try this
$("div.preview").find('*').removeAttr("style");
To remove style from all child elements of div.preview
div.preview