DomNode.getElementById

Gets a dom node by an attribute named "id" matching the given value.

class DomNode
final @safe
getElementById
(
string id
)

Parameters

id string

The id of the node to retrieve.

Return Value

Type: DomNode

The dom node if found, null otherwise.

Meta