ie8 & datatables.net
ie8 & datatables.net
rob_j_egan
Posts: 2Questions: 0Answers: 0
Hi I recieve this error msg from ie8 "Line: 6690 Error: 'null' is null or not an object", which lead me to the return statement.
/* Array or flat object mapping */
return function (data) {
return data[mSource];
};
I'm using "jquery.dataTables.js" not the compressed version and the following code is from my web application.
var oTable = $('#example').dataTable( {
"bDestroy":true,
"bLengthChange": false,
"bProcessing": true,
"bJQueryUI": false,
"bFilter": false,
"iDisplayLength": "5",
"sPaginationType": "full_numbers",
"sAjaxSource": "asp_arrays.asp?JId="+$('#txt_JourneyId').val(),
"fnDrawCallback": function () {
$("#txt_NoAPEntries").val(this.fnSettings().fnRecordsTotal());
}
} );
}
I also seem to get the same msg from jquery-1.5.1.min.js (line 16 character 13158)
Can anyone help?
Thanks in advance
Rob
/* Array or flat object mapping */
return function (data) {
return data[mSource];
};
I'm using "jquery.dataTables.js" not the compressed version and the following code is from my web application.
var oTable = $('#example').dataTable( {
"bDestroy":true,
"bLengthChange": false,
"bProcessing": true,
"bJQueryUI": false,
"bFilter": false,
"iDisplayLength": "5",
"sPaginationType": "full_numbers",
"sAjaxSource": "asp_arrays.asp?JId="+$('#txt_JourneyId').val(),
"fnDrawCallback": function () {
$("#txt_NoAPEntries").val(this.fnSettings().fnRecordsTotal());
}
} );
}
I also seem to get the same msg from jquery-1.5.1.min.js (line 16 character 13158)
Can anyone help?
Thanks in advance
Rob
This discussion has been closed.
Replies
Thanks,
Allan
I hadn't been back to see if there was a response. Thank you for the quick response to my initial post. Your spot on in your comment.... it was the ajax reply or in my case the lack thereof, as initially I have no data to populate the table.
The below resolved the issue for me.
{ "aaData": [] }
Allan