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