Checks whether the given element is contained within the object.
Syntax
object.contains(pChild)Parameters
- pChild [in]
-
Type: IHTMLElement
Element object that specifies the element to check.
Return value
Type: Boolean
Boolean. Returns one of the following possible values:| Return value | Description |
|---|---|
|
The element is contained within the object. |
|
The element is not contained within the object. |
Standards information
There are no standards that apply here.
See also
- a
- abbr
- address
- area
- article
- aside
- b
- bdo
- blockQuote
- body
- br
- button
- caption
- cite
- code
- col
- colGroup
- custom
- dd
- del
- div
- dl
- dt
- em
- embed
- fieldSet
- figcaption
- figure
- footer
- form
- head
- header
- hgroup
- hn
- hr
- html
- i
- iframe
- img
- input type=button
- input type=checkbox
- input type=file
- input type=hidden
- input type=image
- input type=password
- input type=radio
- input type=reset
- input type=submit
- input type=text
- ins
- kbd
- label
- legend
- li
- map
- mark
- nav
- object
- ol
- optGroup
- option
- p
- pre
- q
- rt
- ruby
- s
- samp
- section
- select
- small
- span
- strong
- sub
- sup
- table
- tBody
- td
- textArea
- tFoot
- th
- tHead
- tr
- u
- ul
- var
Build date: 11/28/2012