title: Add parameter to datatable ajax call before draw
body: <p>I am using DataTables 1.10</p>
  
  <p>Does anyone know how to dynamically add a parameter to the ajax call before table.draw() so my request has new parameters? I've looked everywhere and cannot find an answer.</p>
  
  <p>I have buttons that a person can press and based on that button send different parameters to the server. </p>
  
  <pre><code>$('#mytable').DataTable({
          iDisplayLength: 10,
          responsive: true,
          processing: true,
          serverSide: true,
          searching: false,
          bLengthChange: false,
          bProcessing: true,
          paging: true,
           ajax: {
              url: me.url,
              dataType: 'json',
              cache:false,
              type: 'GET',
              data: function ( d ) {
                  $.extend( d, me.data);
                  d.supersearch = $('.my-filter').val();
              }
          },
          columns: me.columns,
          columnDefs: me.renderer,
          initComplete: function() {
  
          }
      });
  </code></pre>
  
  <p>This all works fine but then I try to tie it to a button to pass new parameters.</p>
  
  <pre><code>$('.button').on('click', function(){
        var table  = $('#mytable').DataTable();
        table.ajax.params({name: 'test'}); &lt;- I want to do something like this
        table.draw(); 
  })
  </code></pre>