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