PATH:
home
/
carfac
/
.trash
/
wp-optimize
/
vendor
/
simplehtmldom
/
simplehtmldom
/
docs
/
HtmlDocument
```php getElementsById ( string $id [, int $idx = null ] ) : object ``` Searches elements by id. | Parameter | Description | |-----------|--------------------------------------------------------| | `id` | ID of the element to find. | | `idx` | Returns the element at the specified index if defined. | Returns the element(s) or null if no match was found.
[-] prepare.md
[edit]
[-] getElementByTagName.md
[edit]
[-] __construct.md
[edit]
[-] getElementsByTagName.md
[edit]
[-] getElementsById.md
[edit]
[-] parse_charset.md
[edit]
[-] copy_skip.md
[edit]
[-] index.md
[edit]
[-] load.md
[edit]
[-] remove_callback.md
[edit]
[-] __destruct.md
[edit]
[-] as_text_node.md
[edit]
[-] childNodes.md
[edit]
[-] copy_until_char.md
[edit]
[-] loadFile.md
[edit]
[-] createElement.md
[edit]
[-] firstChild.md
[edit]
[-] restore_noise.md
[edit]
[-] search_noise.md
[edit]
[-] read_tag.md
[edit]
[-] remove_noise.md
[edit]
[-] parse.md
[edit]
[-] createTextNode.md
[edit]
[-] lastChild.md
[edit]
[-] link_nodes.md
[edit]
[-] getElementById.md
[edit]
[-] parse_attr.md
[edit]
[-] find.md
[edit]
[-] copy_until.md
[edit]
[-] __call.md
[edit]
[-] __toString.md
[edit]
[-] set_callback.md
[edit]
[-] __get.md
[edit]
[-] __debugInfo.md
[edit]
[-] expect.md
[edit]
[-] save.md
[edit]
[+]
..
[-] dump.md
[edit]