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
https://forums.phpfreaks.com/topic/99168-post-with-prototype-16/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.