View file core/libs/htmlParser/manual/docs/api/simple_html_dom/getElementById.md

File size: 241B
# getElementById

```php
getElementById ( string $id ) : object
```

Searches an element by id.

| Parameter | Description
| --------- | -----------
| `id`      | ID of the element to find.

Returns the element or null if no match was found.