RE: How to convert tag to a submit button

2004-06-11 Thread PADALA, SANDHYA (SBCSI)
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

RE: How to convert tag to a submit button

2004-06-11 Thread Hubert Rabago
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

RE: How to convert tag to a submit button

2004-06-11 Thread Wendy Smoak
> 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

RE: How to convert tag to a submit button

2004-06-11 Thread Ram Venkataswamy
: 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

RE: How to convert tag to a submit button

2004-06-11 Thread Hubert Rabago
} > > > 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

RE: How to convert tag to a submit button

2004-06-11 Thread Wendy Smoak
> 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

RE: How to convert tag to a submit button

2004-06-11 Thread PADALA, SANDHYA (SBCSI)
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

RE: How to convert tag to a submit button

2004-06-11 Thread Wendy Smoak
> 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