html how to find all elements by id code example
Example 1: Finding HTML Element by Id
var myElement = document.getElementById("intro");
Example 2: lxml.html get element by id
element = root.get_element_by_id("hello")
Example 3: javascript get all elements of an id
// You can't
// You can only have 1 instance of an id per document
// You need to use classes instead
var x = document.getElementsByClassName("example");