get element by id attribute javascript code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: Finding HTML Element by Id
var myElement = document.getElementById("intro");
document.getElementById("someid");
var myElement = document.getElementById("intro");