title: Pagination with jQuery not working
body: <p>I was trying to add the pagination functionality to my jsp. I have used the following codes. But only <code>Prev  Next</code> link is showing. all the records are listing in the same page.
  Why it is happening?? Is there any other easy way to do pagination.? </p>
  
  <pre><code>&lt;table align="right"&gt;
    &lt;tr&gt;
    &lt;td class="cls2"&gt;
    &lt;div id="page" class="page"&gt;
      &lt;a href="" class="prev cls3"&gt; &lt;img src="/prev.gif" alt="" width="16" height="16" border="0"&gt;Prev&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
      &lt;span class="pdisplay" &gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;
      &lt;a href=""  class="next cls3"&gt;Next&lt;img src="/next.gif" alt="" width="16" height="16" border="0"&gt; &lt;/a&gt;
    &lt;/div&gt; 
    &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  
  &lt;table class="cls" cellpadding="1" cellspacing="0" border="0" width="100%"  id="resultTbl"&gt;
   &lt;tbody&gt; &lt;thead&gt;
   &lt;tr&gt;
    &lt;th &gt;Select&lt;/th&gt;
    &lt;th&gt;&lt;span id="isp" class="cls1"&gt;&lt;%=request.getParameter("user")%&gt;&lt;/span&gt;&lt;/th&gt;
   &lt;/tr&gt;&lt;/thead&gt;
   &lt;tr&gt;
    &lt;td&gt;&lt;/td&gt;
    &lt;td&gt;&lt;/td&gt;
   &lt;/tr&gt;
  &lt;/table&gt;
  
  
  
  jQuery I used :
  
  &lt;script type="text/javascript" src="my_js/jquery.tablesorter.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="my_js/jquery.tablesorter.pagerquote.js"&gt;&lt;/script&gt;
     &lt;script defer="defer"&gt;
      $("#resultTbl")
      .tablesorter()
      .tablesorterPager({container: $("#page")}); 
  &lt;/script&gt; 
  </code></pre>