confused and dazed Posted January 5, 2012 Report Share Posted January 5, 2012 (edited) 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 January 5, 2012 by confused and dazed Link to comment Share on other sites More sharing options...
TheGallery Posted January 5, 2012 Report Share Posted January 5, 2012 This should go to the JavaScript forum. Maybe you will get help over there. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now