Re: [jQuery] jquery addClass does not work in ajax call

2009-12-06 Thread brian
Please see: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F You could simply create a function that takes a jquery object (or the selector) as a param and does the striping. That way, you could call the function whenever necessary. Note, t

[jQuery] jquery addClass does not work in ajax call

2009-12-06 Thread doctor
I have the content with stripped odd and even bar. It works fine except when the data of comes from ajax. In the following sample code, if I click the menu1, the content is updated with html but the stripped class will not fit into. That means odd and even class are not added to. I need to the fol