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