File: 2512.js

package info (click to toggle)
datatables.js 1.11.5%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 22,848 kB
  • sloc: javascript: 65,075; xml: 10,712; php: 4,741; sh: 544; makefile: 18
file content (17 lines) | stat: -rwxr-xr-x 374 bytes parent folder | download | duplicates (6)
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();
} );