containscontains*
*



Contents  *



Index  *Topic Contents
*Previous Topic: confirm
*Next Topic: createCaption

contains

Description

Checks whether the given element is contained within the current element.

Syntax

Boolean = object.contains(element)

ParameterDescription
element Element object specifying the element to check.

Return Value

Returns TRUE if the element is contained, or FALSE otherwise.

Applies To

A, ADDRESS, APPLET, AREA, B, BASE, BASEFONT, BGSOUND, BIG, BLOCKQUOTE, BODY, BR, BUTTON, CAPTION, CENTER, CITE, CODE, COL, COLGROUP, COMMENT, DD, DFN, DIR, DIV, DL, DT, EM, EMBED, FIELDSET, FONT, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, H6, HEAD, HR, HTML, I, IFRAME, IMG, INPUT, KBD, LABEL, LEGEND, LI, LINK, LISTING, MAP, MARQUEE, MENU, META, NEXTID, OBJECT, OL, OPTION, P, PLAINTEXT, PRE, S, SAMP, SCRIPT, SELECT, SMALL, SPAN, STRIKE, STRONG, STYLE, SUB, SUP, TABLE, TBODY, TD, TEXTAREA, TFOOT, TH, THEAD, TITLE, TR, TT, U, UL, VAR, WBR, XMP


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.