Hi there,
If in js file exceptions.js the function fn_change_options ajax has been executed I want to have my own function executed after that. I read some stuff online, but it does not give me the correct answer. How can I get this done?
Hi there,
If in js file exceptions.js the function fn_change_options ajax has been executed I want to have my own function executed after that. I read some stuff online, but it does not give me the correct answer. How can I get this done?
You can try something like
$.ceEvent('on', 'ce.ajaxdone', function(elms, scripts, params, response_data, response_text) { alert('Ajax done'); });
This code will be called after each ajax request, but you can check params to detect correct request
You can try something like
$.ceEvent('on', 'ce.ajaxdone', function(elms, scripts, params, response_data, response_text) { alert('Ajax done'); });This code will be called after each ajax request, but you can check params to detect correct request
Ah! Great. Especially checking the params was the trick I was missing. Thanks!