sends an HTTP request to the server (emulates submitting a form)
url | string | the url of a file to load |
values | object | the object with parameters that need sending to the server |
method | string | the type of request: "GET" or "POST". By default, "POST"; |
target | string | the page that will be shown after function execution: "_self" or "_blank". "_self" by default |
webix.send("page.php",{record:123}, "GET");
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