I\'m attempting to chain multiple function calls in my script, but I keep getting Uncaught TypeError: $(...).tablesorter(...).tablesorterPager is not a function whe
Uncaught TypeError: $(...).tablesorter(...).tablesorterPager is not a function
I think this is causing the error .tablesorterPager(pagerOptions);
Try with this:
function InitializeTableSorter() { var pagerOptions = { //object definitions in here }; $("#transaction").tablesorter(pagerOptions); }