saves data to the server side script
url | string | the server-side script which will receive info |
mode | string | optional, the sending mode, can be "get" or "post" (the default one) |
callback | function | optional, the method which will be called after saving |
skipValidation | boolean | optional, set true to skip validation before request (false by default) |
var callback = function() {
// your code here
}
// post
myForm.send("1.php", callback);
// get
myForm.send("1.php", "get", callback);
// post
myForm.send("1.php", "post", callback);
The method is purposed to be used with connectors on the server side. Names of parameters on the server side are equal to the values of the "name" attributes on the client side.
Back to top