I am using Smartclient version 8.1 (LGPL) and I am trying to send some data per POST from a form to a URL via the RPCManager.
I am using this Code but nothing seems to be sent. I am using Smartclient with Javascript and Json files. Maybe you can help me!
Thank you!
Code:
var data=form.getValues();
isc.RPCManager.sendRequest({
data:data,
httpMethod: "POST",
useSimpleHttp: true,
evalResult: true,
actionURL:' .$ajax_url. ',
callback:
function (rpcResponse, data, rpcRequest) {
alert("response from the server: " + data);
}
});
Thank you!
Comment