Marc
2008-Jul-11 20:23 UTC
Firefox form elements not being updated properly by Ajax.Updater
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, --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
T.J. Crowder
2008-Jul-11 21:19 UTC
Re: Firefox form elements not being updated properly by Ajax.Updater
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 On Jul 11, 9:23 pm, Marc <marc.cale...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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,--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---