use getelementbyid javascript code example Example: getelementbyid document.getElementById("someid");