type error is not a function code example
Example 1: Uncaught TypeError is not a function JavaScript
jQuery(document).ready(function($){
// jQuery code is in here
});
Example 2: fnGetNodes is not a function
Use $().dataTable().fnGetNodes() to use the legacy method on a DataTable 1.10.x API. There is a lot of identiclal questions addressing the issue, like this from the other day