get elemement by id for a script element code example Example: getelementbyid document.getElementById("someid");