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"
11 "Info div exists by default",
13 function () { return document.getElementById('example_info') != null; }
16 /* Check can disable */
18 "Info can be disabled",
21 $('#example').dataTable( {
22 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
26 function () { return document.getElementById('example_info') == null; }
29 /* Enable makes no difference */
31 "Info enabled override",
34 $('#example').dataTable( {
35 "sAjaxSource": "../../../examples/ajax/sources/arrays.txt",
39 function () { return document.getElementById('example_info') != null; }