Jump to content

Document.getelementbyid Is Not Working

confused and dazed

Recommended Posts

Hello internet. I am having an issue with the following code working. CODE: <script type="text/javascript">window.onload = function() {for (var i = 0; i < Tload.length; i++) {document.getElementById(Tload.id).value = Tload.value; }</script> The error code I am getting is: 'docement.getElementById(…)' is null or not an object

Edited by confused and dazed
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...