jquery dropdwn seleccion index code example
Example 1: javascript for...of index
for (const [i, v] of ['a', 'b', 'c'].entries()) {
console.log(i, v)
}
Example 2: column.footer jquery
var table = $('#example').DataTable();
var column = table.column(0);
$(column.footer()).html(
column.data().reduce(function(a, b) {
return a + b;
})
);