[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Christoph Roeder
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.

[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Andrew Dupont
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 te

[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Christoph Roeder
Yes On Jun 3, 6:54 pm, Tobie Langel <[EMAIL PROTECTED]> wrote: > Are you using Prototype 1.5.1 ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototy

[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Tobie Langel
Are you using Prototype 1.5.1 ? --~--~-~--~~~---~--~~ 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 ema

[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Christoph Roeder
On Jun 3, 4:06 pm, "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 tel

[Prototype-core] Re: Opera and Form.serialize

2007-06-03 Thread Mislav Marohnić
On 6/3/07, Christoph Roeder <[EMAIL PROTECTED]> wrote: > > > With the following change it works in in Opera and Safari, too. > > var element = Event.element(e); > > var params = $(element.form).serialize(true); > That doesn't make any sense. "element.form.serialize" shou