> For the complete documentation index, see [llms.txt](https://docs.novarietygames.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novarietygames.com/websitecreator/luascript/dom/elements/getelementsbyid.md).

# getElementsById

The method **`getElementsById()`** returns all Elements within the element that matches the specific ID

```javascript
elem.getElementsById("id") // Returns ALL element with the ID of id
```
