When I get new elements from load() function can’t find the way to attach the function .fancybox (a lightbox plugin) to elements.
I’ve tried with .live() and .delegate(), but think .fancybox() could not be considered as custom event. I probably miss something… 🙁
You must wait until the DOM has been updated after the load. Add a one-shot timer in the success function called by
load(). That should do the trick.