title: How to reset the style properties to their CSS defaults in javascript?
body: <p>On a php generated page there are several elements like this:</p>
  <pre><code>&lt;td class=&quot;defaultTDStyle&quot; style=&quot;color:userDefinedCustomColor&quot; id=&quot;myTDId&quot;&gt;&lt;/td&gt;
  </code></pre>
  <p>So there is a default style and I apply several extra styles that override the style defined in the CSS.</p>
  <p>Is there a way to remove these added styles from javascript?
  It seems the <code>obj.style.color=&quot;default&quot;</code> and <code>obj.style.color=&quot;auto&quot;</code> don't work. How can I reset the color to the CSS default from javascript?</p>