If you want the JavaScript to cancel the submit, you need to return
false somewhere.
Struts can also watch for these in the Action, either using the
isCancel() method, or by looking at the label of the button pressed.
Struts doesn't write the HTML for tables, and could not affect the sizes
of
Hello All,
Currently I'm working on a form, but before submit,
I have an onSubmit() in my form tag that verifies they want to submit. The
problem is that with my confirmation javascript popup, whether the user selects
"OK" or "Cancel", the form is still submitted. Is there a way to prevent
That is because you do not have a "return"
specified on the javascript line.
- Original Message -
From:
Steven Leija
To: Struts
Sent: Thursday, May 31, 2001 8:46
PM
Subject: Using Javascript to cancel
submit?
Hello All,
Currently I'm working
ally
high, and I haven't set the size.
Thanks for your help!
Steven
- Original Message -
From:
Spencer
Smith
To: [EMAIL PROTECTED]
; Steven Leija
Sent: Thursday, May 31, 2001 11:06
PM
Subject: Re: Using Javascript to cancel
submit?
That is
4 matches
Mail list logo