Microsoft JScript runtime error: 'length' is null or not an object
Microsoft JScript runtime error: 'length' is null or not an object
radudami
Posts: 2Questions: 0Answers: 0
Hi
I'm trying to use the DataTables plugin (which is great, by the way) with ASP.MVC2, but when I try to load the table I get "Microsoft JScript runtime error: 'length' is null or not an object" on:
[code]
/* See if we should load columns automatically or use defined ones - a bit messy this... */
var nThead = this.getElementsByTagName('thead');
var nThs = nThead.length===0 ? null : _fnGetUniqueThs( nThead[0] );
var bUseCols = typeof oInit.aoColumns != 'undefined';
for ( i=0, iLen=bUseCols ? oInit.aoColumns.length : nThs.length ; i
I'm trying to use the DataTables plugin (which is great, by the way) with ASP.MVC2, but when I try to load the table I get "Microsoft JScript runtime error: 'length' is null or not an object" on:
[code]
/* See if we should load columns automatically or use defined ones - a bit messy this... */
var nThead = this.getElementsByTagName('thead');
var nThs = nThead.length===0 ? null : _fnGetUniqueThs( nThead[0] );
var bUseCols = typeof oInit.aoColumns != 'undefined';
for ( i=0, iLen=bUseCols ? oInit.aoColumns.length : nThs.length ; i
This discussion has been closed.
Replies
Thanks!