search result disappear after Multiple coulmn search
search result disappear after Multiple coulmn search

i am searching with multiple column when making alert within loop one time the search result stay but after that it disappear.My code is as follows-
$(document).ready(function() { // Setup - add a text input to each footer cell $('#dataTables-example tfoot th').each( function () { var title = $('#dataTables-example thead th').eq( $(this).index() ).text(); $(this).html( '' ); }); lead_list_data_table =$('#dataTables-example').DataTable( { //processing: true, "bDestroy": true, responsive:true, searching:true, serverSide: false, ordering: true, //searchHighlight = true, type : "POST", ajax : "<?php echo $this->Url->link(array('controller' => 'leadAjax', 'action' => 'listOfleads'));?>", }); // Apply the search lead_list_data_table.columns().every(function(){ //alert(this); var that = this; $('input',this.footer()).on('keyup change',function(){ alert(this.value); that .search(this.value) .draw(false); } ); } ); } );This discussion has been closed.