Here is what the code looks like: (stripped after the interesting lines)
Event.observe(window, "load", function(){ Event.observe("posting-preview", "click", function(e){ Event.stop(e); var element = Event.element(e); var params = element.form.serialize(true); // ... }); }); On Jun 4, 5:35 am, Andrew Dupont <[EMAIL PROTECTED]> wrote: > On Jun 3, 9:06 am, "Mislav Marohnić" <[EMAIL PROTECTED]> > wrote: > > > That doesn't make any sense. "element.form.serialize" should work in > > FF andOpera because they support native DOM prototypes. It > > shouldn't work in IE because the form element is not DOM extended by > > Prototype. And now you're telling us it works in IE, but doesn't in Opera? > > Nothing makes sense in the strange world of DOM level 0. > > The only explanation I have is that it works in IE because Christoph's > script had previously done something with the form element (thus it > had already been extended) and Opera's "form" property is just borked. > > Cheers, > Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---