So, why can't you use AttributeModifier to set the onclick text? On Wed, Nov 5, 2008 at 7:37 AM, nickponico <[EMAIL PROTECTED]> wrote: > > I've inserted this simple function in head of html: > > <script type="text/javascript"> > function show() > { > document.getElementById("myDiv").setAttribute("class", "visible"); > } > </script> > </head> > > and i'd like to execute this function on onlick... > > so somthing like: onlclick="show()" > > This is a particular situation, but very important for my GUI. > > Thanks > > E. > > > > jwcarman wrote: >> >> What javascript do you want to put into your onclick handler? >> >> > > -- > View this message in context: > http://www.nabble.com/adding-extra-javascript-call-in-CheckBox-tp15318650p20340933.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > 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]