topical media & game development

talk show tell print

#javascript-code-14-load.js / js



  addEvent( window, "load", function() {
      // Find all the forms on the page
      var forms = document.getElementsByTagName("form");
  
      // Go through all the forms on the page
      for ( var i = 0; i < forms.length; i++ ) {
  
          // Validate each of the forms, being sure to set the 'load' argument to
          // true, which stops certain, unnecessary, errors from appearing
          validateForm( forms[i], true );
  
      }
  });
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.