DHTMLX Docs & Samples Explorer

send( url, mode, callback )

Save data to the server side script

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

Names of parameters on the server side are equal to value of a “name” attribute , on the client side.