fnUpdate Error in IE8 only
fnUpdate Error in IE8 only
I am using fnUpdate to change values in my datatable, but it throws an exception at the line 1992 of the datatables script:
[code]_fnGetTdNodes( oSettings, iRow )[iColumn].innerHTML = sDisplay;[/code]
most likely because of the .innerHTML because I have been having issues with .innerHTML in IE8 elsewhere previously.
Any suggestions?
[code]_fnGetTdNodes( oSettings, iRow )[iColumn].innerHTML = sDisplay;[/code]
most likely because of the .innerHTML because I have been having issues with .innerHTML in IE8 elsewhere previously.
Any suggestions?
This discussion has been closed.
Replies
[code]
try{
_fnGetTdNodes( oSettings, iRow )[iColumn].innerHTML = sDisplay;
}
catch(e){
_fnGetTdNodes( oSettings, iRow )[iColumn].innerText = sDisplay;
}
[/code]
Everything works perfectly across all browsers, but I am really not looking to leave the official datatable script permanently edited.