RE: what should I gave to the type attribute of a html:form

2004-04-11 Thread Mu Mike
: "Sanoj, Antony (IE10)" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: RE: what should I gave to the type attribute of a html:form Date: Sun, 11 Apr 2004 08:40:17 -0700 Mike,

RE: what should I gave to the type attribute of a html:form

2004-04-11 Thread Sanoj, Antony (IE10)
Mike, If it is javascript, your only concern, you can use document.forms[your form index] in your javascript code. If you are particular in using a form name, use your form bean name as pointed by the form action in the struts-config file. But make sure, you update your script if you plan to

Re: what should I gave to the type attribute of a html:form

2004-04-11 Thread suneel
if you are using tomcat 4 or 5, its a problem specifying the form name in attribute, coz tomcat uses referential integrity. your struts-config.xml should have an entry for form --- your JSP ... --- your JS coding... document.forms[formIndex].formPro