1 // DATA_TEMPLATE: dom_data
2 oTest.fnStart( "bJQueryUI" );
4 $(document).ready( function () {
5 $('#example').dataTable( {
10 "Header elements are fully wrapped by DIVs",
14 $('#example thead th').each( function () {
15 if ( this.childNodes > 1 ) {
24 "One div for each header element",
27 return $('#example thead th div').length == 5;
32 "One span for each header element, nested as child of div",
35 return $('#example thead th div>span').length == 5;