AJAX Callback?
AJAX Callback?
Hey guys,
I am trying to AJAX processing. I know datatables has a built in function to do the ajax calls for you etc. but I want to download some xml and have greater control over the functionality after callback. Is there anyway to intercept the callback?
Thanks,
Shane.
I am trying to AJAX processing. I know datatables has a built in function to do the ajax calls for you etc. but I want to download some xml and have greater control over the functionality after callback. Is there anyway to intercept the callback?
Thanks,
Shane.
This discussion has been closed.
Replies
Yes indeed - use fnServerData: http://datatables.net/examples/server_side/custom_vars.html . This example is for server-side processing, but fnServerData will allow you to manipulate the return with regular Ajax source as well.
Allan