get data from document.getelementbyid code example Example: getelementbyid document.getElementById("someid");