Struts uses the "name" attribute to repopulate your form on submit. So if you have an action /someAction mapped to a form bean named "myForm", it should look like <html:form action="/ someAction">, and thus <form name="myForm"...>. So in your JavaScript you can refer to document.myForm.
unless of course you're using xhtml mode, in which case it's <form id="myForm"...>, so in your javascript you could do document.getElementById('myForm');
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]