Element.mergeAttributes() (Method)

Merge the attributes from one object with another.


JScript - 5.0
Internet Explorer - 5.0
Property/method value type:undefined
JavaScript syntax:IEmyElement.mergeAttributes(anElement)
IEmyElement.mergeAttributes(anElement, aCaseSense)
Argument list:aCaseSenseA flag indicating whether name lookup is case sensitive
anElementA source element to merge attributes from

The attributes from the source object are merged with the attributes of the receiving object. This may replace some attribute values or may add to the set of attributes if similarly named attributes are present in both but only differ in their case sensitivity.

See also:Element.attributes[], Element.removeAttribute(), Element.setAttribute()