when is something not a function code example
Example: fnGetNodes is not a function
Use $(<tableselector>).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