Export (0) Print
Expand All

swapNode method

Exchanges the location of two objects in the document hierarchy.

Syntax


IHTMLDOMNode retVal = object.swapNode(otherNode);

Parameters

otherNode [in]

Type: IHTMLDOMNode

A pointer to aIDispatch that specifies the existing element.

Standards information

There are no standards that apply here.

Remarks

This method is accessible at run time. If elements are removed at run time, before the closing tag is parsed, areas of the document might not render.

See also

Reference
IHTMLDOMNode::cloneNode
IHTMLDOMNode::removeNode
IHTMLDOMNode::replaceNode
Conceptual
About the W3C Document Object Model

 

 

Community Additions

ADD
Show:
© 2014 Microsoft