• 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 mergeAttributes Method

The mergeAttributes Method

The mergeAttributes method enables you to use an element as a sort of template when creating other elements—in this case, you pass an existing element whose attributes you want to duplicate in another element to this method. You can see the support for this method in Table 6.33.

Table 6.33. The mergeAttributes Method
Method NS2 NS3 NS4 NS6 IE3a IE3b IE4 IE5 IE5.5 IE6
mergeAttributes(Object)        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