...

View Full Version : Submitting a form



trib4lmaniac
10-27-2004, 09:30 PM
I have a form with two submit buttons. How do I submit it with either of the submit buttons so the value is passed correctly? form.submit() might "press" the wrong button.

Roy Sinclair
10-27-2004, 09:52 PM
How would you know which button is the one that should be used? Give both submit buttons the "right" value and you should be ok.

hemebond
10-27-2004, 10:34 PM
form.submit() might "press" the wrong button.form.submit() doesn't press any buttons, and there's more than one way to submit a form. This sounds like a design issue.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum