Jonathan Williams
2007-Apr-10 22:15 UTC
Form.serialize(this) returning empty string in onSubmit, Ajax.Update context, works in Firebug watch
This page is ripped from a real application, but its been simplified for debugging, turning off authentication and hiding Secret SauceĀ®. So if you try Form.serialize(''bio_form'') in Firebug you''ll get a url-encoded string back. The parameters to the Ajax.Updater() call a wrapper around Form.serialize which should present an alert with the url-encoded string. It comes up empty. Furthermore, if you use the watch window in the context of the Updater constructor, Form.serialize(''bio_form'') -- that is with the string parameter that worked in watch before -- returns an empty string? Any thoughts as to why this is occurring? -- Jonathan Williams Web Programmer NYU Steinhardt School of Culture, Education, and Human Development +1 212 998 5308 (office) +1 401 499 4532 (mobile) jonathan.williams-RWB/UN2hA5c@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Maybe Matching Threads
- form_remote_tag :onsubmit not working.
- graphs of gamma, normal fit to a histogram are about half as large as they should be
- [Prototype] Why doesn''t calling submit() on a form result in the execution of the onsubmit event handler?
- form_for onsubmit
- Firebug 1.2.0b4 for FF3