Hi,
On Tue, Aug 27, 2013 at 5:21 PM, podmak <pod...@azet.sk> wrote: > hi, > I need add some js in my AjaxSubmitLink.onSubmit(AjaxRequestTarget target, > Form<?> form) but it is not working. example on my onSubmit function: > @Override > protected void onSubmit (AjaxRequestTarget target, Form<?> form) > { > super.onSubmit(target, form); > target.appendJavaScript("myJS"); > } > > Is appendJavaScript working only in AjaxLink or? > No. It should work in this case too. Check the http response body with Firebug or similar tool. > > thanks > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-and-AjaxRequestTarget-appendJavaScript-tp4661101.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >