dhx.ajax().sync().post

Hello,

i’m trying to send an synchronous XmlHttpRequest with the following code, but the function doesn’t return an response.

What’s the problem?

var response = dhx.ajax().sync().post("elementsmove.php", "");

Thanks in advance

Horst Muerdter
CrossData-Tools

Hello,

locally dhx.ajax().sync().post(url, “”); returns object. Could you attach the completed demo ?

Hello Alexandra,

thanks for your answers. Attached the demo …

Thank you in advance

Horst Muerdter
CrossData-Tools
syncpost.zip (87.3 KB)

Hello,

we reproduced the problem with you touch_debug.js. However, the problem has been resolved by the library from dhtmlxTouch_08b_110217. So, make sure that you use the latest libraries.

You may also pass parameters as follows:

var request = dhx.ajax().sync().post(“send.php”, {a:1,b:2});

Thanks Alexandra,

where can I get this latest library?

Thanks in advance
Horst

Horst

Just click “download” button here:
dhtmlx.com/touch/