Warning: Non-table node initialisation (SPAN)
Warning: Non-table node initialisation (SPAN)

I have include Datatables in delphi/intraweb app.
My include table:
... |
HTML template:
$(document).ready( function () {
var table = $('#example').DataTable( {
"createdRow": function( row, data, dataIndex ) { if ( data[1] == "Nixon" ) { $(row).addClass('president'); } }
});
} );
I do not understand this warning message: Non-table node initialisation (SPAN). For more information about this error, please see http://datatables.net/tn/2?
I single HTML good work this script!
This question has an accepted answers - jump to answer
Answers
That suggests that the element with
id="example"
on your page is-tag span
.Remember that
id
attributes must be unique, so if you have two elements with the same id, unpredictable things might happen. That might be the case here.Allan
My real table id=" #DVGridResult"!