AjaxForm and AjaxSubmit Options

Ajaxform uses progressive enhancement, users without JavaScript can still use the form in a traditional way users with JavaScript will get a more sophisticated experience.AjaxForm takes zero or one argument. The single argument can be either a callback function or an Options Object. [code lang="js"]$('#myFormId').ajaxForm();[/code] AjaxForm and AjaxSubmit support numerous options which can be provided using an Options Object. The Options Object is simply a JavaScript object that contains properties with values set as follows: url URL to which the form data will be submitted. Default value: value of form's action attribute type The method in which the form data should be submitted, 'GET' or 'POST'. Default value: value of form's method attribute (or 'GET' if none found) target Identifies the element(s) in the page to be updated with the…
Read More