Checks whether the given element is contained within the object.  Syntax bContained = object.contains(oElement) 
 Parameters | oElement | 
Required.
Element object爐hat specifies the element to check. |  
 
 Return Value Boolean. Returns爋ne of the following possible values: | true | The element is contained within the object. |  | false | The element is not contained within the object. |  
 
 Standards Information 
There is no public standard that applies to this method.
 
 Applies To  | 
A, 
ADDRESS, 
APPLET, 
AREA, 
B, 
BASE, 
BASEFONT, 
BIG, 
BLOCKQUOTE, 
BODY, 
BUTTON, 
CAPTION, 
CENTER, 
CITE, 
CODE, 
COL, 
COLGROUP, 
CUSTOM, 
DD, 
DFN, 
DIR, 
DIV, 
DL, 
DT, 
EM, 
EMBED, 
FIELDSET, 
FONT, 
FORM, 
FRAME, 
FRAMESET, 
HEAD, 
hn, 
HR, 
HTML, 
I, 
IFRAME, 
IMG, 
INPUT type=button, 
INPUT type=checkbox, 
INPUT type=file, 
INPUT type=image, 
INPUT type=password, 
INPUT type=radio, 
INPUT type=reset, 
INPUT type=submit, 
INPUT type=text, 
KBD, 
LABEL, 
LEGEND, 
LI, 
LINK, 
LISTING, 
MAP, 
MARQUEE, 
MENU, 
META, 
nextID, 
NOBR, 
OL, 
OPTION, 
P, 
PLAINTEXT, 
PRE, 
S, 
SAMP, 
SCRIPT, 
SELECT, 
SMALL, 
SPAN, 
STRIKE, 
STRONG, 
SUB, 
SUP, 
TABLE, 
TBODY, 
TD, 
TEXTAREA, 
TFOOT, 
TH, 
THEAD, 
TITLE, 
TR, 
TT, 
U, 
UL, 
VAR, 
XMP |   |  
 
  
 |