> -----Original Message----- > From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 8:10 AM > To: Struts Users Mailing List > Subject: onclick in html:radio tag doesn't work > > Hi: > I have a jsp using form, when I click a radio button in the > form, I want the form to be submitted. The following is the > jsp snippet: > <html:form action="/payments.do" > > <html:radio property="criteria" value="all" > onclick="document.form[0].submit()"/> > But when I click on the button, in the status bar, it > shows"error on page", but nothing showing on the error log. I > have tried both "onClick"(upper case "C") and onclick. > Neither works. accountHistory.do has correctly defined in my > struts-config.xml. > Thanks for your help.
That sounds like you're getting a javascript error. I would run this in Mozilla, and bring up the JavaScript Console (IE may have something similar), before you load the page. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>