----- Original Message ----- 
From: [EMAIL PROTECTED] 
To: [EMAIL PROTECTED] 
Sent: Wednesday, October 16, 2002 12:21 PM
Subject: Fwd: document.forms[0].submit() not working


 

 [EMAIL PROTECTED] wrote: 

  Date: Tue, 15 Oct 2002 07:12:33 -0700 (PDT)
  From: 
  Subject: document.forms[0].submit() not working
  To: [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]


  Hi 

  I have just started using the struts. I am having  a multi form with three pages. 
First is having an image link to second page and second is having an image link to 3rd 
and finally 3rd is having the submit button.To retrieve the first page data i have 
written the code given below but I am getting the javascript error. Even though call 
to other functions like document.forms[0].reset() is working fine. Can sb tell me what 
is the cause.

  <html:form action="/addPayee"> 

  <a href='javascript:document.forms[0].submit();'>
     <html:img src="graphics/continue.gif" width="67" height="15"/>
     </a>

  </html:form>

  Can some one suggest what is the better way to implement such multi page form in the 
struts. Thanks in advance.

  amit khurana





------------------------------------------------------------------------------
  Do you Yahoo!?
  Faith Hill - Exclusive Performances, Videos, & more
  faith.yahoo.com




--------------------------------------------------------------------------------
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

Reply via email to