title: JQuery Datatables Properties
body: <p>I am working on a web project, where I have used <a href="https://datatables.net/" rel="nofollow noreferrer">JQuery Datatables</a> in the project, the only challenge that I am facing with is, how to get or access datatable's properties and vlues like: search value, order, limit, ... using JavaScript and JQuery.
  Thanks in advance.</p>
  
  <p>Some Code I have Used: </p>
  
  <pre><code>function loadDestroyedGoods() {
      var start_date = $("#start_date").val();
      var end_date = $("#end_date").val();
      if (start_date &amp;&amp; end_date) {
          var dataTable = $('.g_tbl').DataTable({
              "processing": true,
              "serverSide": true,
              "destroy": true,
              "lengthChange": true,
              "lengthMenu": [20, 50, 100, 500, 1000],
              "pageLength": 10,
              "ajax": {
                  "url": "/loadGoodsDestroyed",
                  "type": "POST",
                  "dataType": "json",
                  "dataSrc": "data",
                  "data": {start_date: start_date, end_date: end_date}
              },
              "columns": [
                  {"data": "name"},
                  {"data": "status"},
                  {"data": "count"},
                  {"data": "price"},
                  {"data": "consumer"},
                  {"data": "date"}
              ]
          });
      }
  }
  </code></pre>
  
  <p>This is what I want:</p>
  
  <p>What I want is how to get data-tables' properties, not how to load custom data into it. I don't need server side engagement here, all I want is how to get the value which user entered for the search, the order user used to order the rows</p>