how to find an element by id in javascript code example Example: get element by id in javascript document.getElementById("YourElementId");