1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-01-19 12:52:11 +01:00

Merge pull request #133 from cirosantilli/patch-1

Update examples/api/multi_filter.html
This commit is contained in:
Allan Jardine 2012-11-06 03:13:57 -08:00
commit a5c80d4711

View File

@ -22,8 +22,8 @@
} ); } );
$("tfoot input").keyup( function () { $("tfoot input").keyup( function () {
/* Filter on the column (the index) of this element */ /* Filter on the column based on the index of this element's parent <th> */
oTable.fnFilter( this.value, $("tfoot input").index(this) ); oTable.fnFilter( this.value, $("tfoot th").index($(this).parent()) );
} ); } );