BeeRich wrote:

> Using ajax.updater, I want to submit a form which has 2 items in it.
> One is a radio button, straight forward.  The other is a textarea that
> could be quite large.  I want to park it into the url portion, but that
> would mean the url could supercede the safe length of a url for
> submission to my back door file that actually receives the parameters.

GET has a limit on the data it can send, but a POST does not.

Ajax.Updater(
  { success: 'my_div' },
  '/backdoor.cgi',
  {
    method: 'post',
    parameters: Form.serialize($('my_form'))
  }
);

-- 
Michael Peters
Developer
Plus Three, LP


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

Reply via email to