es6 get element by id code example
Example 1: getelementbyid
document.getElementById("someid");
Example 2: get document by id
var element = document.getElementById(id);
document.getElementById("someid");
var element = document.getElementById(id);