Webpage renders fine in chrome but not in IE 8

Webpage renders fine in chrome but not in IE 8

goldygoldy Posts: 20Questions: 11Answers: 0

I'm using datatables 1.10 and the page renders fine in Chrome, but IE 8, it chokes and the error line it chokes on is

colVis: {activate : "mouseover"
},
 "tableTools": {
 "sRowSelect": "os",
 "sSwfPath": "/nas/DataTables-1.10.0/extensions/TableTools/swf/copy_csv_xls_pdf.swf",
 "aButtons": [ "csv" ],
 },  

It's telling me }, - that line..

I don't see how that can be the problem since it renders fine in chrome - any assistance or guidance would be greatly appreciated
thx

Answers

  • allanallan Posts: 61,451Questions: 1Answers: 10,055 Site admin

    Can you link to a test page that show the problem please? One thing to check is if you have a trailing comma in your objects (you do at the end of aButtons for example). Old IE versions don't like that.

    Allan

  • JamaurJamaur Posts: 83Questions: 9Answers: 0

    Remove trailing comma (,)

  • JamaurJamaur Posts: 83Questions: 9Answers: 0

    "aButtons": [ "csv" ],
    Remove end comma

This discussion has been closed.