javascript - Datatables single column search -
i have basic table , search one column. the code have far here in fiddle . as can see @ bottom of each column there search filter, there 1 search filter, on office column. it if search filter @ top, , not @ bottom now. basically i'd table similar this one , instead of filter on each column, want one filter on one column. any appreciated. my code below. // setup - add text input each footer cell $('#example tfoot th').each(function() { var title = $(this).text(); $(this).html('<input type="text" placeholder="search ' + title + '" />'); }); // datatable var table = $('#example').datatable(); // apply search table.columns().every(function() { var = this; $('input', this.footer()).on('keyup change', function() { if (that.search() !== this.value) { .search(this.value) .draw(); } }); }); <script src="https://ajax.goog...