Uncaught TypeError: Object # has no method 'find'
Uncaught TypeError: Object # has no method 'find'
roncemer
Posts: 4Questions: 0Answers: 0
Under certain circumstances, with jQuery 1.7.2 and DataTables 1.9.1, the following error occurs:
Uncaught TypeError: Object # has no method 'find'
The fix is simple. In jquery.dataTables.js, line 11519, change this:
$('span:eq(0)', an[i])
to this:
$('span:eq(0)', $(an[i]))
Please make this change and release a new version of DataTables. This is breaking a lot of apps which worked with previous versions of DataTables.
Thanks!
Ron Cemer
http://www.roncemer.com
Uncaught TypeError: Object # has no method 'find'
The fix is simple. In jquery.dataTables.js, line 11519, change this:
$('span:eq(0)', an[i])
to this:
$('span:eq(0)', $(an[i]))
Please make this change and release a new version of DataTables. This is breaking a lot of apps which worked with previous versions of DataTables.
Thanks!
Ron Cemer
http://www.roncemer.com
This discussion has been closed.
Replies
Thanks very much for letting me know about this.
Can you link me to a test case showing this issue so I can include it in the unit tests and verify the problem/fix?
Many thanks,
Allan
Allan