value from document by document.getelementbyid code example Example: getelementbyid document.getElementById("someid");