On Monday 12 February 2007, Michael Schuerig wrote: > On Monday 12 February 2007, Christophe Porteneuve wrote: > > Hey Michael, > > > > Michael Schuerig a écrit : > > > I noticed that some of my event handlers and scripts evaluated in > > > ajax responses didn't work in Konqueror (3.5.5). > > > document.getElementsByClassName is not defined in these contexts. > > > > Well, I guess then your "document" reference is not the host page's > > "document" reference. Because the method is, indeed, properly > > defined (and properly behaving) on Konqueror (I just checked, > > "worksforme"). > > Bummer. Do you have any idea why this might be the case? I don't have > frames and in Firefox I don't have any problems, otherwise I wouldn't > have singled out Konqueror. > > > Can you put up a minimalistic online test page for us to tinker > > with? > > Yes, I'll investigate this further, but only latter in the day.
After a few hours I can reproduce the problem reliably, but still don't understand it. The culprit is the firebug logging script. http://www.getfirebug.com/logging.html After calling console.log, document.getElementsByClassName is undefined. Up to that fateful call document and its properties is fine. Michael -- Michael Schuerig mailto:[EMAIL PROTECTED] http://www.schuerig.de/michael/ --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] 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 -~----------~----~----~----~------~----~------~--~---
