commonAncestorContainer property

Returns the deepest node in which two boundary points exist.

Document Object Model (DOM) Level 2 Traversal and Range Specification, Section 2.13

Syntax

JavaScript

oNode = object.commonAncestorContainer

Property values

Type: Object

The ancestor container.

Standards information

See also

Range

 

 

Show:
© 2014 Microsoft