document.getElementById('el'); code example Example: getelementbyid document.getElementById("someid");