myNode.replaceChild( newChild, oldChild ) in DOM Level 2 Core

(no overview available)

Arguments

nametypedescription
newChild Node
oldChild Node
Return Type
Node