get element by user id example program Example: javascript get element by id var element = document.getElementById("YourElementId");