Hi all,

I have defined a JS method in the head section of the HTML which is currently 
called via  $(document).ready(method);
I also want to call it when certain content is reloaded due to an ajax call 
triggered by a button click.

How can I call the JS method when the button is clicked and the Ajax is 
reloaded?
I tried both response.render(OnDomReadyHeaderItem.forScript("method();")); as 
well as add target.appendJavaScript(„method();“); to the Ajax Link but this 
seems not to be correct.

Thanks for any hints,
Chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to