Programmer's Guide > Interfaces > W3C Node interface > getUserData method
  
getUserData method
Retrieves the object associated to a key on a this node. The object must first have been set to this node by calling setUserData with the same key.
getUserData(key )
Parameters
Stringkey
The key the object is associated to.
Returns
DOMUserData. Returns the DOMUserData associated to the given key on this node, or null if there was none.