getElementsById

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

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

Last updated