DHTMLX Docs & Samples Explorer

send (url, mode, callback)

Save data to the server side script

Parameters:

  • url - the server-side script which will receive info
  • mode -(optional) a sending mode, can be get or post. The default value - post
  • callback - (optional) the method which will be called after saving
myForm.send("some.php");
  //or
dhxForm.send("some.php","get");
  //or
dhxForm.send("some.php","get",function(loader, response){
  alert("Saved");
});

Description:

  • The method is purposed to be used with connectors on server-side. Names of parameters on server-side are equal to values of “name” attributes on client-side.