Are you passing evalScripts: true as an option to Ajax.Updater? new Ajax.Updater('someDiv', 'someUrl', { evalScripts: true, ... });
By default, scripts that are returned from an Ajax call via Ajax.Updater are stripped and not evaluated. -Fred On Sat, May 24, 2008 at 7:07 AM, cnickel <[EMAIL PROTECTED]> wrote: > > Hi, > I'm using prototypejs Updater function in order to load a particular > div section content without loading the whole page. > The problem is that any content in this div section that uses > javascript functions doesnt work, for instance image galleries that > use "lightbox" display types appear in a classic way when you click on > an image, also Flash video that use the FLV player doesnt show. -- Science answers questions; philosophy questions answers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---