View Full Version : Submitting a form
10-27-2004, 10: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.
10-27-2004, 10: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.
10-27-2004, 11: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.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.