The mergeAttributes method copies all read/write HTML attributes, events, and styles from one element to another specified element.
Pointer to an Object that specifies the attributes copied to the object that invokes the attributes of the mergeAttributes method.
Optional. Pointer to a Boolean value that specifies one of the following values:
- Default. The id and name attributes of the element to which
attributes are being merged is preserved.
- The id and name attributes of the element to which attributes
are being merged are not preserved.
No return value.