DekGenius.com
Team LiB   Previous Section   Next Section
HTMLElement.contains( ) whether one element is contained in another

Availability

Internet Explorer 4

Synopsis

element.contains(target)

Arguments

target

An HTMLElement object.

Returns

true if element contains target; false if it does not.

    Team LiB   Previous Section   Next Section