You have the onclick event handler in the wrong place; stick it in <html:select>, not <html:options>.
Mark -----Original Message----- From: bjoern blum [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 9:14 AM Hello I just tried to use the javascript eventhandler "onClick" in my struts html:tag options. I want to submit my HTML-Form every time an element of my select tag has been selected. The developer guide contains such methods. But the compiler throws an error: org.apache.jasper.compiler.CompileException: /select.jsp(20,3) Attribute onClick invalid according to the specified TLD at org.apache.jasper.compiler.TagBeginGenerator.validate(TagBeginGenerator. java:180) My Code is: <html:form action="selectPP.do" name="SelectPPForm" scope="request"> <table> <tr> <td> <html:select property="planningperiod"> <html:options collection="pplist" property="ppid" labelProperty="ppid" onclick="document.SelectPPForm.submit()" /> </html:select> </td> </tr> </table> </html:form> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

