return type of document.getelementbyid code example Example: getelementbyid document.getElementById("someid");