mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-03 15:24:10 +01:00
17 lines
374 B
JavaScript
17 lines
374 B
JavaScript
|
// 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();
|
||
|
} );
|