title: ajax success function not working on datatable
body: <p>I'm using datatable to show list from database mysql</p>
  
  <p>I need to update some input on end of table loading, then I'm using success function but this seems to prevent data rendering</p>
  
  <pre><code>var table = $('#example').DataTable({
  'processing': true,
  'serverSide': true,
  'ajax': {
    type: 'POST',
    'url': url,
    'data': function (d) {
      console.log(d.order);
      return JSON.stringify( d );
    },
  
    // EDIT this "my" success function
    success: function( data ) {
      $('#my_input').val(data.return);
    }
  }
  </code></pre>
  
  <p>Json returned is:</p>
  
  <pre><code>{
   "data":[[ (datatable value) ]],
   "returned":"myvalue"
  }
  </code></pre>
  
  <p>here the jsfiddle</p>
  
  <p>EDIT
  <a href="http://jsfiddle.net/ntcwust8/95/" rel="nofollow noreferrer">http://jsfiddle.net/ntcwust8/95/</a></p>