Title basically says it all.
The error I get at:
document.forms[0].onsubmit = validateForm;
This is at the very top of my .js file. Does that matter?
Unable to set value of the property ‘onsubmit’: object is null or undefined
in IE’s debugger.
As a test, I set the validateForm() to always true, and I still got the error. I am positive there is a document.forms[0] in my webpage, and I do have a function validateForm().
Thanks for your help!
You don’t have any forms loaded at that point…
Try: