Interesting update - I've just tried this in IE6 and the form
serializes OK, so why am I getting different behaviour from Firefox 2?



On Oct 3, 7:35 pm, JF <[EMAIL PROTECTED]> wrote:
> I'm having problems serializing a form.
>
> I've narrowed the problem down so that if I break in Prototype's
> getElements function, and trace into the $A that makes an array of the
> return of $(form).getElementsByTagName("*"), the iterator doesn't
> contain any elements. However, looking at the form variable in FireBug
> shows all the elements I'd expect to be there.
>
> I'm executing the getElements from within an onChange handler on a
> SELECT element in Firefox 2 if it's important. I was originally trying
> to update my containing DIV using the item selection via an AJAX
> request, but couldn't get it working because of the above.
>
> Anyone have any pointers? I'm pretty new to this.
>
> Thanks
> John


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to