title: Datatables search onclick event on a button
body: <p>How to achieve search functionality when user click on a search button in datatables instead of onchange or onkeyup in the text boxes? Currently i am using the below code for search </p>
  
  <pre><code>jQuery('.asla-search-input').on( 'onkeyup change', function () {   
              var i =jQuery(this).attr('id');  // getting column index
              var v =jQuery(this).val();  // getting search input value
              dataTable.columns(i).search(v).draw();
          } );
  </code></pre>
  
  <p>But i need this search when user click on the search button. Any help would be greatly appreciated.</p>