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