Upgrade from 1.5 to 1.8

Upgrade from 1.5 to 1.8

mv5492mv5492 Posts: 10Questions: 0Answers: 0
edited January 2012 in DataTables 1.8
Hi Allan,

I just upgraded from 1.5 to 1.8 and with no changes at all to the following code I'm getting the following error message (IE8) and jquery 1.7: "Object does not support this property or method" on line 239

I can't see anything not supported below, can you? Changing it back to 1.5 makes it all work fine.

Many thanks. Mike

[code]
$(document).ready( function () {
$('#dtexample').dataTable( { //LINE 239
"bAutoWidth": false,
"bServerSide": false,
"bProcessing": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "./table_ctrl.cgi?system=" + sys,
"iDisplayLength": 15,
"sDom": '<"top"f>rt<"bottom"ip><"clear">',
"aoColumns" : [
{ sWidth: '150px' },
{ sWidth: '150px' },
{ sWidth: '120px' },
{ sWidth: '800px' }
],
"fnInitComplete": function() {
var SYS = sys.toUpperCase();
$(loading).replaceWith("" + SYS + " Content Management");
}
} );
} );
[/code]

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Are you getting any 404 errors or anything? It looks good to me. Can you give me a link?

    Allan
  • mv5492mv5492 Posts: 10Questions: 0Answers: 0
    No 404 errors. No link available since we're behind a firewall. I was so far behind in versions that I thought maybe something was no longer supported. I may try to step up in versions to see where this starts happening. I also need to get a decent js debugger IE8's built-in is not very helpful. Chrome is better but my page won't render there at all (css). I'll work on it some more. Thanks Allan.

    Mike
This discussion has been closed.