[thelist] JavaScript - form.submit()

Scott_Brady at themoneystore.com Scott_Brady at themoneystore.com
Fri Jul 28 14:57:45 CDT 2000


"form1" is the function's name for the form.  ( the function declaration is
"function verifyForm(form1)" -- so, I call the function with
"onSubmit="verifyForm(this);" ")

If I put in an "alert(form1.name);" in the function, I get the right results
"addJobForm".

So, it's not that I have to name the form "form1".  Also, I've tried changing it
to "addJobForm.submit();" and "document.addJobForm.submit();" and that also
hasn't worked.

Anything else you can think of?

Scott




You need to call your form name="form1" or say addJobForm.submit

let me know if that's it











More information about the thelist mailing list