ColdFusion 9.0 Resources |
ColdFusion.Ajax.submitFormDescriptionSubmits form data without refreshing the page when the results are returned. Function syntaxColdFusion.Ajax.submitForm(formId, URL[, callbackhandler, errorhandler, httpMethod, asynch]) See alsocfajaxproxy, ColdFusion.navigate, Using the ColdFusion.Ajax.submitForm function in the Developing ColdFusion Applications HistoryColdFusion 8: Added this function. Parameters
ReturnsIf the asynch argument is false, returns the response body. Otherwise, the function does not return a value. UsageIf the page that calls this function does not have any ColdFusion AJAX-based controls, use a cfajaximport tag on the page to ensure that the page includes the JavaScript definition for this function. Note: This function does not submit the
contents of file fields.
ExampleSee Using the ColdFusion.Ajax.submitForm function in the Developing ColdFusion Applications. |