javascript Range intersectsNode( )

intersectsNode( )NN 6 IE n/a DOM n/a  

intersectsNode(nodeReference)

  

Returns Boolean true if any part of the current range overlaps with the text or element node that is passed as a parameter. If your script detects an intersection, it can use the compareNode( ) method to obtain more detail about the intersection.

 
Parameters
 
  • Reference to any text or element in the document tree.
 
Returned Value

Boolean value: true | false.


1640,Nickname,Homepage or email,Comments here,Add comment