TypeError: $(...).tablesorter is not a function
<p>I am using jquery.tmpl to create tables through ajax call.
Table row is coming from database .</p>

<p>And i included all the tablesorter plugins that is ,tablesorte,js,latest.js and css</p>

<p>But it is giving error as tablesorter is not a function...</p>

<pre><code>$.ajax({
.....
  success:function(){
    $("#mytable").addClass("tablesorter");
    $("#mytable:has(tbody tr)").tablesorter();
  }
});
</code></pre>
