Thanks Peter, It looks like a Java Script issue, as you said. Calling the form.submit() is the issue.
best regards, Sarath Babu (603) 621 3259 -----Original Message----- From: Peter Romianowski [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:24 AM To: Velocity Users List Subject: Re: velocity - javascript issue Hi Sarath, though this has absolutely nothing to do with velocity: Try document.forms.authorize.submit() and make sure that your form-tag reads: <form name="authorize" ...> That should work. Regards, Peter Sarath Bethapudi ( Consultant ) wrote: > Hi Guys, > > > > I am trying to submit a velocity page using a javascript function on a > radio button > > > > This is my HTML radio button: > > > > <input type="radio" name="serverModel" value="distributed" > onclick="setRadioButton()"></b></font> > > > > This is my JavaScript function: > > > > <script type="text/javascript"> > > function setRadioButton() > > { > > alert("hai"); > > document.authorize.submit(); > > > > } > > </script> > > > > I am able to see the alert window, but when the > document.authorize.submit(); line is called the following runtime error > occurs, > > "Object doesn't support this property or method". > > > > Any help would be appreciated.... > > > > best regards, > > Sarath Babu > > > > --------------------------------------------------------------------- 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]
