Apache Wicket > Framework Documentation > Reference library > How to do things in Wicket > AJAX > HOWTO do Javscript call after each Wicket AJAX update
Added by Erik van Oosten, last edited by Will Hoover on Jan 13, 2008  (view change)

if you want to execute a certain piece of js code after every (successful) ajax update, you can use the following js code:

wicketGlobalPostCallHandler = function {
  alert('successful partial update');
}

Also see Calling JavaScript function on wicket component's onclick