js get element by id th code example Example: get element by id in javascript document.getElementById("YourElementId");