Forum: Rails Spinoffs (closed, excessive spam) Firefox form elements not being updated properly by Ajax.Updater

E539afb1c08c44ab35925e360679d658?d=identicon&s=25 Marc (Guest)
on 2008-07-11 22:23
(Received via mailing list)
Visually, Prototype's Ajax.Updater is working as advertised.

I call a server action that creates a new div that contains a few form
elements.
The page reflects the updated form elements...or at least it appears
correct.
But when I finally submit the form  (form.submit) , all form elements
updated by the Updater, are missing from
the submit.

I have used firebug to verify this, and the post only has form
elements that were untouched during the Ajax updates.

I have reproduced this in both Firefox 3 and 2.  IE does not seem to
exhibit this problem.

I am able to pick the values off of each element
using document.getElementId and then I can manually append them onto
the
form's action:
e.g.
-------------
myForm.action="myurl"+"&var1="+var1;
myForm.submit();
-------------

... but this is obviously not best.   Is this a bug?


Thanks,
Ca3e484c121268e4c8302616b2395eb9?d=identicon&s=25 T.J. Crowder (Guest)
on 2008-07-11 23:20
(Received via mailing list)
Hi,

We've started transitioning to a new, better-named, hopefully-spam-
free group for Prototype and script.aculo.us:

   http://groups.google.com/group/prototype-scriptaculous/

   prototype-scriptaculous@googlegroups.com

Could you please post your question there instead?  Thanks!  People
might still answer here, but probably not for all that much longer...
--
T.J. Crowder
tj / crowder software / com
This topic is locked and can not be replied to.