1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | // DATA_TEMPLATE: 2512 oTest.fnStart( "Check filtering with BR and HTML entity" ); $(document).ready( function () { $('#example').dataTable(); /* Basic checks */ oTest.fnTest( "Check filtering", function () { $('#example').dataTable().fnFilter('testsearchstring'); }, function () { return $('#example tbody tr').length == 1; } ); oTest.fnComplete(); } ); |