how could i get other data from the return of fnReloadAjax?

how could i get other data from the return of fnReloadAjax?

ihiyasihiyas Posts: 2Questions: 0Answers: 0
edited July 2012 in General
hi,

i'm using the fnReloadAjax function,
the return of the ajax call would be like this: {'aaData':[...], 'name':'Jacky'},
the 'aaData' part is working well, but i still need the 'name' part,
how could i get it out?

Thanks!
ihiyas

Replies

  • ihiyasihiyas Posts: 2Questions: 0Answers: 0
    yeah,
    i got it.
    [code]
    oTable.bind('xhr', function ( e, oSettings ) {
    var res = oSettings.jqXHR.responseText;
    eval("var resp="+res);
    alert(resp.xxx);
    } );
    [/code]
This discussion has been closed.