On Sat, Jan 3, 2009 at 8:06 PM, brian <bally.z...@gmail.com> wrote: > On Sat, Jan 3, 2009 at 4:36 PM, <holandmij...@gmail.com> wrote: >> >> My question's are >> >> 1. If you have a Div class= content with children anchors. Then >> empty and load in new content in that div with children anchor those >> anchors will get the same event handling that the previous anchors had >> right? > > No (well, not exactly). Any click handlers you set on elements in that > div will not be bound to anything if you remove the content. This is > precisely what liveQuery deals with. It "watches" for new elements > which match the selectors given earlier for bind event handlers.
Sorry, I meant to add this link to the docs, which gives the lowdown on this (most) frequently asked question: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F