Jump to content

POST with prototype 1.6


r-it

Recommended Posts

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.