[jQuery] Re: jQuery events don't work after AJAX load

2008-07-07 Thread Hamish Campbell
Possibly one of the most frequently asked questions: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F On Jul 8, 1:54 pm, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi folks, I have a page with a photo on it.  I load the comments for

[jQuery] Re: jQuery events don't work after AJAX load

2008-07-07 Thread Chris Bailey
Are you using the Livequery plugin to bind your events? If not, then the event binding, that presumably is setup in some other source file (other than the HTML that's coming in via your load), won't even run against the new code from the AJAX load. Using Livequery will let you keep the code