Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | NotABug | Q1736 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.