javascript Range isPointInRange( )

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

isPointInRange(nodeReference, offset)

  

Returns Boolean true if the location denoted by the parameter values (a node in the document tree and an offset location within that node) is within the current range.

 
Parameters
 
  • Reference to any text or element in the document tree.
  • Integer offset, counting either nested nodes within an element or characters within a text node.
 
Returned Value

Boolean value: true | false.


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