PROTECTED] [mailto:[EMAIL PROTECTED]
JS Sent: Tuesday, March 23, 2004 3:10 PM
JS To: [EMAIL PROTECTED]
JS Subject: are you sure?
JS Hi list,
JS Still a struts newbie, I try to write an are you sure javascript
JS confirmation box for my submit button.
JS The question is: how can I
: are you sure?
+1
-Martin
- Original Message -
From: Colm Garvey [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 5:00 AM
Subject: RE: are you sure?
Simplest thing to do here is make the method handle the submit for you.
Replace the submit
Hi list,
Still a struts newbie, I try to write an are you sure javascript
confirmation box for my submit button.
The question is: how can I prevent the form from being submitted
when the user clicks no?
In the Jsp, I put the following code in the head:
SCRIPT LANGUAGE=javascript
: are you sure?
Hi list,
Still a struts newbie, I try to write an are you sure javascript
confirmation box for my submit button.
The question is: how can I prevent the form from being submitted
when the user clicks no?
In the Jsp, I put the following code in the head:
SCRIPT LANGUAGE=javascript
PM
Please respond to
Struts Users Mailing List [EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
are you sure?
Hi list,
Still a struts newbie, I try to write an are you sure _javascript_
confirmation box for my submit button.
The question is: how can I prevent the form from
PROTECTED]
Subject: are you sure?
Hi list,
Still a struts newbie, I try to write an are you sure javascript
confirmation box for my submit button.
The question is: how can I prevent the form from being submitted
when the user clicks no?
In the Jsp, I put the following code in the head:
SCRIPT
-
From: Janarthan Sathiamurthy [mailto:[EMAIL PROTECTED]
Sent: 23 March 2004 09:44
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: RE: are you sure?
Try with this -
html:form action=/adddate
name=dateForm
type=nl.rinke.DateForm
onsubmit=return areyousure()
Should work
name=dateForm
JS type=nl.rinke.DateForm
JS onsubmit=return areyousure()
JS Should work
JS -Original Message-
JS From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
JS Sent: Tuesday, March 23, 2004 3:10 PM
JS To: [EMAIL PROTECTED]
JS Subject: are you sure?
JS Hi list
Mailing List
Betreff: Re[2]: are you sure?
we tried to use this (form.onsumbit=return f()) but encountered a problem:
if JavaScript is disabled in browser the submiting goes on without
confirmation dialogue and other stuff done by JS (wich in our case was
more important).
We solved
+1
-Martin
- Original Message -
From: Colm Garvey [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Tuesday, March 23, 2004 5:00 AM
Subject: RE: are you sure?
Simplest thing to do here is make the method handle the submit for you.
Replace the submit button
: Dienstag, 23. Marz 2004 11:09
AS An: Struts Users Mailing List
AS Betreff: Re[2]: are you sure?
AS we tried to use this (form.onsumbit=return f()) but encountered a problem:
AS if JavaScript is disabled in browser the submiting goes on without
AS confirmation dialogue and other stuff done by JS (wich
submitting to the server returning an action message with a checkbox
(check to confirm). and then resubmitting I reckon would be nicer than
a javascript dependency.
html:form action=/save.do
logic:messagesPresent bla bla (i hate this tag)
Are you sure you want to do that or are you just
12 matches
Mail list logo