HtmlDocument.getElementById

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

class HtmlDocument
final @safe
getElementById
(
string id
)

Parameters

id string

The id of the node to retrieve.

Return Value

Type: HtmlNode

The dom node if found, null otherwise.

Meta