Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

getElementById

Description

The getElementById of NonElementParentNode for JS returns the first element within node’s descendants whose ID is elementId.

Syntax

node.getElementById(elementId)

Parameters

elementId

An element can have an associated unique identifier (ID).

Examples

1

2

Web Hypertext Application Technology Working Group (WHATWG)

HomeMenu