nt.forms[0].submit();
}
I have one question though. I do not have noscript.html in my webapp. Do
I have to create one.
Thank you,
Sandhya
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 1:21 PM
To: Struts Users Mailing List
Subject: RE: How to
So it's the 'return false' statement that makes your links different from
Sandhya's.
--- Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> > I think your problem is that the link itself goes somewhere
> > instead of just
> > calling the JS function. Why
> From: Hubert Rabago [mailto:[EMAIL PROTECTED]
> I think your problem is that the link itself goes somewhere
> instead of just
> calling the JS function. Why don't you try something like
> attName
> or even just a regular, non-struts tag, link?
I think the "javascript:function()" syntax is fro
: Struts Users Mailing List
Subject: RE: How to convert tag to a submit button
I think your problem is that the link itself goes somewhere instead of
just
calling the JS function. Why don't you try something like
attName
or even just a regular, non-struts tag, link?
--- "PADALA, SAND
}
>
>
> Can you please tell me what I am doing wrong.
>
> Thank you,
> Sandhya
>
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 11, 2004 9:37 AM
> To: Struts Users Mailing List
> Subject: RE: How to convert tag to a
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
>
> attName
>
>
>
> function attSubmit(ID)
> {
> document.forms[0].action="/attachment.do";
> document.forms[0].submit();
> }
>
Check a couple of things-- that you don't have a form element called
'submit', or else
u,
Sandhya
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Friday, June 11, 2004 9:37 AM
To: Struts Users Mailing List
Subject: RE: How to convert tag to a submit button
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
> I tried using onClick java script me
> From: PADALA, SANDHYA (SBCSI) [mailto:[EMAIL PROTECTED]
> I tried using onClick java script method in the tag and in
> the method implementation I have done document.forms[0].submit().NO
> luck. I was not successful.
Why don't you post what you tried that didn't work? That's the solution
I u
8 matches
Mail list logo