struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sudhakar G" <>
Subject Javascript Error
Date Mon, 19 Apr 2004 12:37:12 GMT
Hi All,

I have defined a form tag and assigned a form name like as follows..

<html:form method="POST" action="">
<html:javascript formName="form1" staticJavascript="false" />
<input type="hidden" name="hiddenname">
<html:submit onClick="Next()"/>

the problem is:

when i submit the button. its giving error "object doesnot support 
property or method" from java script

The javascript code:

function Next()

                  document.form1.action ="";            

Can any one tell me you it is behaving like this?.I have multiple forms
declared in that page  was it a problem?.

Thanks & Regards

Mindtree Consulting Private Ltd.

Imagination is more important than knowledge. 
--Albert Einstein 

This message (including attachment if any) is confidential and may be privileged. Before opening
attachments please check them for viruses and defects. MindTree Consulting Private Limited
(MindTree) will not be responsible for any viruses or defects or any forwarded attachments
emanating either from within MindTree or outside. If you have received this message by mistake
please notify the sender by return  e-mail and delete this message from your system. Any unauthorized
use or dissemination of this message in whole or in part is strictly prohibited.  Please note
that e-mails are susceptible to change and MindTree shall not be liable for any improper,
untimely or incomplete transmission.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message