Hi folks,

I'm having pretty much the same problem:
I have a tablesorter table of 99 rows, each containing a cell that has
an anchor with class “resultslink”.
I have created a click event handler for this class to execute a
function.

Using the pager I am displaying 10 rows at a time. The anchors on the
first page pick up the event handler fine, but subsequent pages do
not.

Here is the code (I've stripped out the bits that work):

$(document).ready(function() {
        $(".resultslink").click(function () {custTurnoverListSubmit();});
});
function custTurnoverListSubmit(){ // do stuff. }

Any ideas?

Cheers,
Ben.

On Apr 10, 10:12 pm, jseg <[EMAIL PROTECTED]> wrote:
> I'm using thetablesorterplugin and having a tough time trying to
> figure out why myclickfunctiondoesnotwork on the thenext/secondpagewhen using 
> the pager plugin.
>
> $(document).ready(function()
>     {
>         $("#myTable").tablesorter({widgets:
> ['zebra']}).tablesorterPager({container: $("#pager")});
>             $('tbody tr').click(function(){
>             alert('hi');
>                 });
>     }
> );

Reply via email to