the document.getelementbyid() method returns the element of specified id. give an example
Example 1: js getelementbyid
document.getElementById("some_id");
Example 2: javascript get element by id
var myElement=document.getElementById("someElementID");