Document.byId

Element byId(const(char)[] id)

Get an element by id. It returns an invalid element (== null) if not found.