I have a complete HTML page, but now I need to make several changes:
First, I want to remove all the bgcolor and style attributes from the tables and body tags.
I am attempting it like this:
$('#container').find("table").removeAttr("style");
This code only removes the style attribute from tables, but how can I remove it from all table, tr, td, th, and body tags?
Is there any wildcard (*) attribute available for handling this situation?