javascript getelementbyid and set id code example Example: getelementbyid document.getElementById("someid");