Element.applyElement() (Method)

A way of defining an Element object as the child or parent of another element.

Availability:

JScript - 5.0
Internet Explorer - 5.0
JavaScript syntax:IEmyElement.applyElement(anObject)
IEmyElement.applyElement(anObject, aLocation)
Argument list:anObjectAn object to be referenced
aLocationThe relationship to construct

When the element is applied, you must specify the element object to which it is to become attached.

There is an optional second parameter to define whether it should become the parent or the child of that object. If the second parameter is not specified, then the element becomes the parent of the target object.

The second parameter can be any of these values:

Warnings:

See also:Function.apply()

insert figure 0116

insert figure 0117