Programmer's Guide > Interfaces > W3C Node interface > nodeValue attribute
  
nodeValue attribute
The value of this node, depending on its type; see the table above. When it is defined to be null, setting it has no effect. including if the node is read-only.
nodeValue
Access
read-write
Returns
String
Get throws
DOMException
DOMSTRING_SIZE_ERR: Raised when it would return more characters than fit in a DOMString variable on the implementation platform.
Set throws
DOMException
NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.