Dear jQuery Group,

I am new to jQuery and ran into my first obstacle that I can't solve
by Googleing.

My code is (I am using a plugin to make my table searchable):

$(document).ready(function()
    {

                $('table#ratings tbody tr th').quicksearch({
                        attached: "table#ratings",
                        position: "before",
                        hideElement: 'parent',
                        loaderText:'',
                        stripeRowClass: ['r1'],
                        labelText: 'Search through keywords:',
                        inputText: '',
                        delay: 50
                });

                $("#MinimumLinks a").click(function(){
                        $("#ratings_div").load("display_ratings.php?filter="+$
(this).attr("value"));
                });

    }
);

Display_ratings.php is the script that shows the table's tbody. The
problem is that the table is easily filterable/searchable using the
plugin when the page is loaded. However after I update the table using
the click function on some hyperlinks, the table is no longer
searchable. It looks like the classes are no longer added to the row
that the plugin does. So I wanted to rerun the plugin function
after .click event. How do I do this?

Thank you very much,

Eiso

Reply via email to