Javascript Reference
Categories: Element

javascript Element clearAttributes( )

@March 15, 2008, 1:22 a.m.
clearAttributes( )Firefox/Netscape/NN n/a IE 5(Win) Chrome/Safari/DOM n/a  

  

Removes all attributes from the current element except for the id and name attributes (if specified). Any rendering characteristics influenced by the element's attributes that are removed also no longer apply to the element.

 
Parameters

None.

 
Returned Value

None.


Powered by Linode.