my dropdown box is not filtering out
my dropdown box is not filtering out

$(document).ready(function() {
$('#table_id').DataTable({
initComplete: function() {
var select = $('');
$("#table_id").closest(".dataTables_wrapper").find(".dataTables_filter").append(select);
this.api().columns(0).data().unique().sort().each(function(d, j) {
$.each(d, function(k, v) {
select.append('' + v + " - " + getClinicName(v) + '');
})
});
}
});
});
I have this code, however it wouldn't search through my table and filter out, any ideas on how to fix it? And it also shows repetition of variables (which I don't want to show).
This discussion has been closed.