Getting a Node's nodeID

The nodeID is an internal unique identifier for a node.

To retrieve it, use:

var strNodeID = objNode.nodeID;