1 // DATA_TEMPLATE: empty_table
2 oTest.fnStart( "bInfo" );
4 $(document).ready( function () {
5 /* Check the default */
6 $('#example').dataTable( {
7 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
12 "Info div exists by default",
14 function () { return document.getElementById('example_info') != null; }
17 /* Check can disable */
19 "Info can be disabled",
22 $('#example').dataTable( {
23 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
28 function () { return document.getElementById('example_info') == null; }
31 /* Enable makes no difference */
33 "Info enabled override",
36 $('#example').dataTable( {
37 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
42 function () { return document.getElementById('example_info') != null; }