When using the jQuery datatables plugin, why am I getting this error?
"k is undefined" -style typeof e.saved_aaSorting=="undefined")
When using the jQuery datatables plugin, why am I getting this error?
"k is undefined" -style typeof e.saved_aaSorting=="undefined")
I posted this answer to document something for future reference for myself, I hope it will help someone else on down the line.
From the usage page (a little RTFM):
In order for DataTables to be able to function correctly, the HTML for the target table must be laid out in a well formed manner with the 'thead' and 'tbody' sections declared.
In my case, the <thead> and <tbody> sections were missing. Oops.