Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1736 Why does document.myForm.submit() not work or return an error?

You are here: irt.org | FAQ | JavaScript | NotABug | Q1736 [ previous next ]

Mark Chrisman writes:

If your form contains a submit button named submit, then document.myForm.submit refers to that button instead of to the submit() function. Solution: give a different name to your submit button.

(Note that questions 71 and 932 also show different reasons why a form submission might not work.)

Feedback on 'Q1736 Why does document.myForm.submit() not work or return an error?'

©2018 Martin Webb