Hi,

Check out the 'parameters' member of the Ajax options:
http://www.prototypejs.org/api/ajax/options

Hope this helps,
--
T.J. Crowder
tj / crowder software / com

On Apr 2, 12:27 pm, r-it <[EMAIL PROTECTED]> wrote:
> Hi there, i've been browsing the net for tutorials on using prototype
> 1.6. I am using it to change most of my ajax scripts as they have
> browser incompatibility issues. I am looking for a format on how to
> set the Ajax.Updater method to post, and where and how would i do
> this, do i have to first serialize the form values? What if i am not
> using a form for these values, what if i just want to make the post
> array myself like:
>
> msg = "txCName=" + escape(cname) + "&";
> msg += "txNature=" + escape(nature) + "&";
> msg += "txSector=" + escape(sector) + "&";
> msg += "txDate=" + escape(dates) + "&";
> msg += "txEmployees=" + escape(numempl) + "&";
> msg += "txMail=" + escape(mail) + "&";
>
> and then post the msg string?
>
> please help
--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
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