Rize
Investment Chatbot AI
08,894130
02,22416
02,6139
02,5243
02,2940
01,3850
01,8500
01,8150
02,6970
02,2250
03,3200
jQuery(window).on('load', function () { $('#tablepress-1 tfoot td').each(function () { const th = jQuery(document.createElement('th')).html($(this).html()); $(this).replaceWith(th); }); var table = $('#tablepress-1').DataTable(); console.log("列数:" + table.columns().count()); table.columns().every(function (index) { var column = this; console.log("第 " + index + " 列的 footer 是:", column.footer()); var select = $('') .appendTo($(column.footer()).empty()) .on('change', function () { var val = $.fn.dataTable.util.escapeRegex($(this).val()); column.search(val ? '^' + val + '$' : '', true, false).draw(); }); column.data().unique().sort().each(function (d) { select.append(''); }); }); });