1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-12-05 17:24:10 +01:00
DataTables/media/unit_testing/tests_onhold/1_dom/2512.js

17 lines
374 B
JavaScript
Raw Normal View History

// 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();
} );