Whatever message this page gives is out now! Go check it out!
ColdFusion.Ajax.submitForm(formId, URL[, callbackhandler, errorHandler, httpMethod, asynch]) |
| Parameter | Description |
formId | The ID or name attribute of the form. |
URL | The URL to which to submit the form. |
callbackhandler | The JavaScript function to handle a normal response. The function must take a single argument, that contains the response body. This method is used only if the form submission is asynchronous. |
errorHandler | The JavaScript function to handle an HTTP error response. The function must take two arguments: the HTTP status code, and the error message. This method is used only if the form submission is asynchronous. |
httpMethod | The HTTP method to use for the submission, must be one of the following:
|
asynch | A Boolean value specifying whether to submit the form asynchronously. The default value is true. |