ZVON > References > DOM2 Reference

selectNodeContents (method )

Owning interface and usage:  
Range.selectNodeContents(refNode)

Member of these other interfaces:  
none

Description:  
Select the contents within a node.

Parameters:  
Node refNode  -  Node to select from.

Returns:  
nothing

Exceptions:  
RangeException INVALID_NODE_TYPE_ERR
Raised if refNode or an ancestor of refNode is an Entity, Notation or DocumentType node.
DOMException INVALID_STATE_ERR
Raised if detach() has already been invoked on this object.
DOMException WRONG_DOCUMENT_ERR
Raised if refNode was created from a different document than the one that created this range.