title: Jquery datatables - Pass current page number to Ajax URL
body: <p>I am using the latest datatables and have a datable specified this way. How can I pass the current page number to the ajax URL? I have specified <code>"this.page()"</code>, but it doesn't recognize it as a valid function.</p>
  
  <pre><code> var table = $("#userList").DataTable( {
      "bJQueryUI": "true",
      "bAutoWidth": "false",
      "sPaginationType": "full_numbers",
      "iDisplayLength": 10,
      "aLengthMenu": [10, 25, 50, 100],
      "aaSorting": [],
      "processing": "true",
      "serverSide": "true",
      "ajax":$.fn.dataTable.pipeline( { 
                url: "/server/users?page="+this.page(), 
                pages: 5 
       } ),
      "bSortClasses": "false",
      "aoColumns": [
                    { "sWidth": "6%"},{ "sWidth": "10%"},
                    { "sWidth": "20%"},{ "sWidth": "15%"},
                    { "sWidth": "15%"},{ "sWidth": "30%"}],
      "sDom": "&lt;\"H\"&lt;&gt;C&lt;\"#exportOptions\"&gt;fr&gt;&lt;\"datatable-scroll\"t&gt;&lt;\"F\"lip&gt;",        
      "oColVis": {
                   "aiExclude": [ 0, 1 ],
      "buttonText": "Show/Hide Columns  &lt;img src='/images/arrow.png'&gt;",
      "bRestore": true
                 },
  
      "aoColumnDefs": [{ "bSortable": false, "aTargets": [ 0 ] }],
      "fnDrawCallback": function (oSettings) {
                              }
                       } );
  </code></pre>