Hai It has the form name 'formName' and i have given document.formName.submit() only....But it is saying that property or method not supported....Any other solution Regds Partha
> ---------- > From: Sergey Smirnov[SMTP:[EMAIL PROTECTED] > Reply To: Struts Users Mailing List > Sent: Thursday, July 03, 2003 1:44 PM > To: [EMAIL PROTECTED] > Subject: Re: form.submit problem > > Javascript works on client side, So, it does not matter do you use > html:button or <input type=button... On client site html:button is present > as <input type=button > Open source for page and check that the form has 'formName' name. > > "O_Parthasarathy Kesavaraj" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > > Hai > > I am using struts to display the values fetched from the database.When > the > > user gives input values and clicks submit button(not html:button it is > > <input type=button since html:buttton requires a property to be declared > in > > form-bean) i am calling a function where i am setting a value for a > hidden > > variable and calling document.formName.submit().It is showing an > javascript > > error that property or method not supported.What could be the > problem?should > > i use only html:button when i am using struts?Thanks in advance > > Regards > > Partha > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]