elementby if code example
Example 1: js getelementbyid
document.getElementById("some_id");
Example 2: javascript get element by id
var myElement=document.getElementById("someElementID");
document.getElementById("some_id");
var myElement=document.getElementById("someElementID");