The data passed through this method can be validated on server side and passed to other scripts for other actions.
Syntax: new SmartAjaxForm([options])
Here are some key features of "SmartAjaxForm":
Options:
· regExpClassname: (regexp) To change the CSS class name, for example /^ajaxForm/i -> class='ajaxForm'.
· responseClass: (String) CSS class name for the response.
· loadingClass: (String) CSS class name for the loading animation.
Events:
· onClick.
· onComplete.
· onFailure.
Requirements:
· JavaScript enabled on client side
· MooTools 1.2.4 or higher