Categories | Question details Back To List | ||
Ajax Post functionality Team, I have need to transform 15 or more text inputs on an html page to their corresponding url?param1=value1¶m2=value2. I use the Form.serialize() function from the prototype.js library and its output is then appended to the url in this fashion: var formparams = Form.serialize('myform'); var loadUrl = urlLocation() + "someaction.do?actionType=applySchdPath&action=add&" + formparams; dhtmlxAjax.post(loadUrl , null, functionCall); My question is this: seeing as though my formparams string could be VERY long in some instances, will your dhxajax.post() method be able to handle the huge url that could be passed to it? Is it going to behave just like a normal form/submit/post on a page? Answer posted by Alex (support) on Apr 01, 2009 03:28 In case of post request the parameters must be put into the second parameter. Please, see the sample http://dhtmlx.com/docs/products/dhtmlxAjax/samples/samples_of_usage/send_request.html |