Inside JavaScript

The mergeAttributes Method

The mergeAttributes method enables you to use an element as a sort of template when creating other elementsin 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

Категории