call a function in success of datatable ajax call

Is that possible to invoke a javascript function in success of datatable ajax call.
Here is the code am trying to use,

var oTable = $(#app-config).dataTable(
                bAutoWidth: false,                                                
                bProcessing : true,
                bServerSide : true,
                sPaginationType : full_numbers,
                sAjaxSource : url,                    
                fnServerData : function(sSource, aoData, fnCallback) {
                    alert(sSource+ sSource);
                    alert(aoData+ aoData);
                        dataType : json,
                        type : GET,
                        url : sSource,
                        data : aoData,
                        success : fnCallback

is it possible to have something like,

success : function(){
    .....code goes here

instead of success : fnCallback > which is last line of AJAX call.
In this function I would like to check a value send from server side.
Thanks in advance for any help.

View More Answer And Comment : Stackoverflow

Top Answer 1

You can use this:

drawCallback: function(settings) {
   do whatever  

Top Answer 2

You can use this:

drawCallback: function(settings) {
   do whatever  

View More Answer And Comment : Stackoverflow

Install F# standalone on MAC

I have installed Install the F# Cross-Platform Runtime (called Mono) from this instruction. The installation completed without errors, but I cannot find fsharp: ~ » fsharpi zsh: command not found: [Read More...]


At the moment my application uses an Oracle db and I am really happy about it. My intention is to implement the same app with Derby (just to make it more portable). With Oracle I use a trigger with [Read More...]

CSV quick plot error

I would like to use the CSV quick plot application to analyze data however even with all the packages installed the app continues to show an error. The error message is: Error in file(file, "rt") : [Read More...]

Access weird JSON Format

I am using an API that returns the following JSON: I want to access the data in "value", but I have no idea how to do it. I don't want to mess around too often, because the API has a limited amount [Read More...]

Random Values for an Array?

I'm looking for some help with my array. to put it in context im trying to create a console application that randomly generates a 4-digit code for the user to guess. to do this I need an array of [Read More...]

Python script to Batch file

I have a batch file that runs a python script. I am running Python 3.2. I want to send a variable like an integer or string from the python script back to the batch file, is this possible? I know I [Read More...]

Dhtmlx dropdown menu

This is for filtering in dhtmlx .I want to filter events.How can i make a dropdown menu ex:rooms (room1,room2,room3,room4) in the lightbox? View More Answer And Comment : Stackoverflow All the [Read More...]

SSRS drill through report

I am creating two ssrs reports. First report lists the names of all of the ELEMENTS in the dataset. so, when you click on any of the element of the first report then second report should display [Read More...]