title: How to pass a jtable variable to a controller in CodeIgniter
body: <p>I'm trying to use jquery-jtabel in CodeIgniter but I'm having problems passing variable <code>bulantahun</code> from view/ajax to controller. This is my code.</p>
  
  <pre><code>//this is the ajax code 
  $('#TableContainer').jtable({
                  title: 'Absensi',
                  paging: true,
                  sorting: true,
                  defaultSorting: 'bulanTahun ASC',
                  selecting: true,
                  multiselect: true, 
                  selectingCheckboxes: true, 
  
  
                  actions: {
                      listAction: base_url+'Absensi_controller/listRecord',
                      createAction: base_url+'Absensi_controller/create',
                      updateAction: base_url+'Absensi_controller/update',
                      deleteAction: base_url+'Absensi_controller/delete'
                  },
  // the field is here
  
  
  $('#TableContainer').jtable('load',{
                      bulantahun:$("#from").val()
              });
  
  
  //and this is my code in Controller
  function create()
  {
  $bulantahun = $this-&gt;input-&gt;post('bulantahun'); //failed to post this value
  //my code here
  }
  </code></pre>