column.footer jquery

JavaScript
var table = $('#example').DataTable();
var column = table.column(0);
$(column.footer()).html(
  column.data().reduce(function(a, b) {
    return a + b;
  })
);
Source

Also in JavaScript: