• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Using Core HTML Methods and Events > The clearAttributes Method

The clearAttributes Method

The clearAttributes method deletes all attributes from an HTML element except the NAME and ID attributes. You can see the support for this method in Table 6.11.

Table 6.11. The clearAttributes Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
clearAttributes()        x x x
  No return value



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint