Elementals.js

Latest Version: 3.4 PRODUCTION 18 November 2017

Method _.Node.replace

Replaces one DOM node with another.

Calling Convention:
_.Node.remove(oldNode, newNode)
Parameters:
oldNode
The node to be removed.
newNode
The node to put in it's place
Returns:
A reference to newNode