I have the function below.
What does the server side code need to return so that
the correct (error or success) is executed?
webix.ajax().post("URL", variableJSON, {
error:function(text, data, XmlHttpRequest){
alert("error");
},
success:function(text, data, XmlHttpRequest){
alert("success");
}
});