Javascript Reference
Categories: OBJECT

javascript OBJECT contains( )

@March 15, 2008, 1:22 a.m.
contains( )Firefox/Netscape/NN n/a IE 4 Chrome/Safari/DOM n/a  

contains(elementReference)

  

Returns whether the current element contains the specified element.

 
Parameters
 
  • A fully formed element object reference (e.g., document.getElementById("myDIV")).
 
Returned Value

Boolean value: true | false.


Powered by Linode.