> 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
Hi Eiso, Give this doc a read. I think it will help you understand the problem: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F Mike