Uncaught TypeError: Cannot read property 'length' of undefined

Uncaught TypeError: Cannot read property 'length' of undefined

sandonetsandonet Posts: 1Questions: 1Answers: 0

I had this error, in jquery.dataTables.js:3006, in this line

                    for ( i=0 ; i<aData.length ; i++ ) {

I have no ide why 'length' is not defined, i hope someone can help me about this issue, thanks.

Answers

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    It suggests that the array is not an array, but rather undefined. That in turn suggests that the server is not returning any data from the Ajax request - although without a link to a test case or more information, that is a guess. Please link to a test case or use the debugger.

    Allan

This discussion has been closed.