I notice that if I use history to go back to a page with the alert box "links prepared" you are able to capture that and re-prepare the links. I am trying to solve a window/page focus/loading event issue. Would you mind posting how you're doing the binding that calls that function?
tmcw wrote: > > Thanks, I've got it fixed now, for the most part. Ha, except I think it's > encountering race conditions and my CS major-in-progress might actually > come into use, but probably not. You can check it out here - > http://rockpolka.workingidea.com/ > > Jörn Zaefferer wrote: >> >> tmcw schrieb: >>> Does jQuery automatically update the DOM after new content is loaded via >>> the >>> .load() function? It seems like it's working in some cases and failing >>> on >>> others right now. If not, is there a way to manually update it? I'm >>> binding >>> a function to links with a certain class on document.ready, but when new >>> links are loaded in, they don't trigger the function. >>> >> You have to reapply the event bindings to elements that you add later to >> the DOM, like the ones loaded via load(). >> >> See also http://www.learningjquery.com/2006/09/sacrificial-lambda >> >> -- >> Jörn Zaefferer >> >> http://bassistance.de >> >> >> _______________________________________________ >> jQuery mailing list >> [email protected] >> http://jquery.com/discuss/ >> >> > > -- View this message in context: http://www.nabble.com/Dom-Updates--tf3036986.html#a8595651 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
