Hello,
im trying since one day to get a response from server (and then) fill the predefined (webix-)Form, but without results
server:
…
content = { “somedata” : “ABCDEF”}
return content
webix-code (not working):
webix.ajax().header({
"Content-type":"application/json"
}).get("/get_data/", function(content, data) {
alert(data.json().somedata);
});
where can my problem?
here is the error from javascript debugger:
/get_data/?function%20(content,%20data)%20{alert(data.json().somedata);} 404 (Not Found)
thank you