call a function in success of datatable ajax call

后端 未结 10 1951
难免孤独
难免孤独 2020-12-29 01:44

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\').dataTa         


        
10条回答
  •  [愿得一人]
    2020-12-29 02:35

    This works fine for me. Another way don't work good

                    'ajax': {
                        complete: function (data) {
                            console.log(data['responseJSON']);
                        },
                        'url': 'xxx.php',
                    },
    

提交回复
热议问题