getElementById
The method getElementById()
returns the first Element within the element that matches the specific ID
elem.getElementById("id") // Returns the FIRST element with the ID of id
Last updated
Was this helpful?
The method getElementById()
returns the first Element within the element that matches the specific ID
elem.getElementById("id") // Returns the FIRST element with the ID of id
Last updated
Was this helpful?