2003. február 19. 12:47 dátummal Carl-Jakob Rundberg ezt írtad:
Hi
I want to generate a popupwindow when a user clicks on a html:link I
tried the onclick property. The problem is to get mapping to the action in
the javascript or the other way around
If you just want to open a new window, try
I think the problem here is that there is a built-in javascript reset()
method that's overriding your custom reset().
Try calling your method doReset() or something else.
BAL
From: LUCERO,DENNIS (HP-Boise,ex1) [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: '
Thanks Brian,
the only stupid question, is the one you ask without knowing the api
-Original Message-
From: Brian Lee [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 11:04 AM
To: [EMAIL PROTECTED]
Subject: Re: using javascript
I think the problem here
Good quote!
http://developer.netscape.com/docs/manuals/
Mark
-Original Message-
From: LUCERO,DENNIS (HP-Boise,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 13, 2003 1:35 PM
the only stupid question, is the one you ask without knowing the api
--
To unsubscribe, e-mail:
: Using Javascript submit(), how can I tell what did the
submit in an action?
I see several strategies for this:
1. Design your page and your Action so you don't need to know. Your
request parameters will indicate the current settings. This will allow
your page to work even if javascript is disabled
To: [EMAIL PROTECTED]
Subject: RE: Using Javascript submit(), how can I tell what did the
submit in an action?
You can make the onChange call a JS-function.
Maybe this is what David suggested in 3) below...
Anyway, attached is an example.
/ Jörgen
-Original Message-
From: Karr, David
I see several strategies for this:
1. Design your page and your Action so you don't need to know. Your
request parameters will indicate the current settings. This will allow
your page to work even if javascript is disabled (an unfortunate
consideration).
2. Put each drop down into its own
Satish,
Are you just using garden variety client side JavaScript for validation,
calling a method in the onSubmit of your form tag? If so..
return false;
in your JS method will prevent the form from being submitted.
An alternative you might consider is to check out the Struts Validator
Also check if you actually set validate=true in the appropriate action tag.
Mattos, John wrote:
Satish,
Are you just using garden variety client side JavaScript for validation,
calling a method in the onSubmit of your form tag? If so..
return false;
in your JS method will prevent the
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
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 on a form,
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
12 matches
Mail list logo