Javascript Reference
Categories: event

javascript event rangeParent

@April 11, 2008, 9:42 p.m.
rangeParent Firefox/Netscape/NN 6 IE n/a Chrome/Safari/DOM n/a

 

Read-only

Returns a reference to a document tree node that would be a suitable start or end point for a W3C text range. Use in concert with the rangeOffset property.

 
Example
 
function processMouseUp(evt) {
rng.setEnd(evt.rangeParent, evt.rangeOffset);
}
 
Value

Reference to a node.

 
Default

None.


Powered by Linode.