How to get focus out from textfield immediatly after draw?
How to get focus out from textfield immediatly after draw?
I am using data table with input text field for searching in each column. The below code is used. just want get focus out from text field immediate after draw function?
var table = $('#table_id').DataTable();
// Apply the search
table
.columns()
.eq(0)
.each(
function(colIdx) {
$(
'input',
table.column(colIdx)
.footer())
.on(
'keyup change',
function() {
table
.column(colIdx)
.search(this.value)
.draw();
});
});
});