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