Debug: Problems with nCell.className
Debug: Problems with nCell.className
I'm using DataTables and I'm receiving an error in Internet Explorer 8 (The one that I need to work in)
The table is not sorting but only in Internet Explorer 8
This is what I'm getting debugging:
/* Classes */
if ( bClass )
{
nCell.className += ' '+oCol.sClass;
}
nCell.className 'nCell.className' es nulo o no es un objeto Error // Error is null or is not an object
Does anyone know why Is this happening? Am I missing something??
No problems with Chrome nor Firefox, even in Explorer 9 It's working. But I'm having this error in Explorer 8 and I don't know why.
Thanks in advance.
This question has an accepted answers - jump to answer
Answers
I will try to give as much info as I can.
This error is related, but I wanted to show what is happenning. In case that anyone have had the same problem before.
http://imagizer.imageshack.us/a/img661/6194/ggTqU2.png
Thank you all!
You have a trailing comma. IE8 incorrectly thinks that means that there is another item (
undefined
) at the end of the array... Good old IE :-)Allan
I've just tried and It looks great! Thank you very much!
I was afraid It couldn't work in IE8 after trying so many things readen everywhere about It. As simple as a comma (the last one).
Thanks again!