JavaScript DHTML/Node Operation/clearAttributes
"clearAttributes()" Example
<source lang="html4strict">
<html> <body> <script language="JavaScript">
function function1() { document.all.myP.clearAttributes(); }
</script>
This text has the style and id attributes.
<button onclick="function1();">Clear attributes()</button> </body> </html>
</source>