Javascript Methods JavaScript Reference

Note:
Swaps two nodes.
    
Syntax:
    
textNodeName.swapNode(param1)
Parameters:
    param1   Required; one of the two nodes to exchange positions.