In one of my application I am using JQUERY tablesorter.But while sorting with any of the cloumns I am getting below error. Any idea why this is happening.
Error : "e.handler.apply" is not function in Jquery.js
My code to use table sorter is as below.
$(".tablesorter")
.tablesorter(
{
headers: { 0: { sorter: false}},
widgets: ['zebra'],
fixedHeight: false
})
.tablesorterPager({
container: $(".pager")
});
$("#sortHeader").click(
$(".tablesorter")
.bind("sortStart",function(e, table)
{
$('.tablesorter').trigger('pageSet',0);
})
);
But If I am commenting the code which starts from "$("#sortHeader").click" then it is working fine. But I need that portion of code to meet my requirement.
Any thoughts on this.