You triggered the update before the data loaded, you have to do that
in a function as the third argument:

$('#foo').click(function() {

    $('#centro').empty();
    $('#centro').hide();

    $('#centro').fadeIn(3000).load('results_casa_mes.asp', {
        nm_mes: $('#teste4').val(),
        pessoas: $('#pessoas').val(),
        tipo: $('#tipo').val(),
        localidade: $('#localidade').val()
    }, function(){  $("table").trigger("update");  } );

});

On Nov 22, 11:57 am, led <[EMAIL PROTECTED]> wrote:
> $('#foo').click(function() {
>
>   $('#centro').empty();
>
>    $('#centro').hide();
>   $('#centro').fadeIn(3000).load('results_casa_mes.asp',{ nm_mes:
> document.getElementById('teste4').value, pessoas:
> document.getElementById('pessoas').value, tipo: document.getElementById
> ('tipo').value, localidade: document.getElementById
> ('localidade').value });
>
>    $("table").trigger("update");
>
>   });
>
> I've tried this with no luck
>
> On 21 Nov, 18:30, Balazs Endresz <[EMAIL PROTECTED]> wrote:
>
> >http://tablesorter.com/docs/example-ajax.html
>
> > inside the callback (the third argument for .load )
> > // let the plugin know that we made a update
> > $("table").trigger("update");
>
> > On Nov 21, 5:43 pm, led <[EMAIL PROTECTED]> wrote:
>
> > > I've noted that tablesorter and the pager don't work in ajax response
> > > such as the content returned in the jquery load(), with or without
> > > previous Table tags
> > > How can i fix this .
> > > See this demo of the problem in  http://realferias.com/pager.asp

Reply via email to