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

Feedback: irt.org FAQ Knowledge Base Q932

Feedback on: irt.org FAQ Knowledge Base Q932

Sent by Todd Broberg on March 22, 2000 at 10:23:39: - feedback #972

Comments:
I occasionally have problems submitting forms with the document.FormName.submit() command. The error I get says "Object does not support method or property." Sometimes I get this error because the name of one of the form elements (usually the submit button itself) is "submit". Changing the name to something other than "submit" fixes the problem.


Sent by michel on April 18, 2000 at 02:36:47: - feedback #1103

Comments:
document.form['myForm'].submit;

should be

document.forms['myForm'].submit();

Michel


Sent by hue on September 11, 2000 at 14:45:49: - feedback #1740

Worth:
Worth reading

Length:
Too short

Technical:
Just right

Comments:
good snipet. i searched around for the better half of a day trying to figure out this form.submit business. still have a problem with the an error message of "transfer interrupted", but it is functional.


Sent by derek jolliffe on July 12, 2001 at 06:25:21: - feedback #2958

Worth:
Worth reading

Length:
Just right

Comments:
We ha some problems with netscape and submit. The submit was actioning a url but the form had no 'input'. Adding a dummy 'hidden' input field sorted the problem.


Sent by David Abernethy on March 10, 2002 at 03:25:10: - feedback #3670

Worth:
Very worth reading

Comments:
Like Todd I had the same problem - until I read his comment I was lost for a solution.


Sent by TDB on January 18, 2003 at 12:28:23: - feedback #4375

Worth:
Worth reading

Comments:
I want to point out that if you are using an Onclick event from a link to trigger a function that submits the form and you do not return false the onclick then your form will not submit (IE5).


Sent by Don on Thursday May 03, 2007 at 11:10:14 - feedback #4523

Worth:
Very worth reading

Length:

Technical:

Comments:
Todd's comments are on the money. I had the same problem until I renamed the button on the form to something other than "submit".




©2018 Martin Webb