send

sends an HTTP request to the server (emulates submitting a form)

void send(string url,object values,string method,string target);
urlstringthe url of a file to load
valuesobjectthe object with parameters that need sending to the server
methodstringthe type of request: "GET" or "POST". By default, "POST";
targetstringthe page that will be shown after function execution: "_self" or "_blank". "_self" by default

Example

webix.send("page.php",{record:123}, "GET");

Details

One of the possible use cases for this method is various kinds of export:

webix.send(url, { grid_xml : encodeURI(xml) }, null, "_blank");
Back to top