Method which can use for both as webix.send as well as getting response??

Hello webix team,
Is there any method which can use for both as webix.send as well as getting response??

Comments

  • edited December 5

    Hello,

    webix.send mimics form submitting, so there cannot be any server-side response.

    To send data to backend and catch the response, you can use the webix.ajax() function:

    webix.ajax().post("url"), {/*form values*/}).then(function(response){
       //here you get the response
    });
    

    https://docs.webix.com/helpers__ajax_operations.html

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion