The jQuery Form Plugin allows you to easily and unobtrusively upgrade HTML forms to use AJAX. The main methods, ajaxForm and ajaxSubmit, gather information from the form element to determine how to manage the submit process. Both of these methods support numerous options which allows you to have full control over how the data is submitted. Submitting a form with AJAX doesn't get any easier than this!
Resources ¶
Documentation ¶
Requirements ¶
- Yii 1.0 or above
Installation ¶
- Extract the release file under
protected/extensions
Usage ¶
See the following code example:
$this->widget('ext.ajaxform.JAjaxForm',array(
'formId'=>'myForm1',
'options'=>array(
'dataType'=>'json',
'beforeSubmit'=>'js:function(formData,$form,options) { // return false to cancel submit }',
'success'=>'js:function(responseText,statusText) { alert(responseText); }',
),
));
Change Log ¶
February 3, 2010 ¶
- Initial release.
nice extension dude
simple and easy to used.
thanks dude..
perfect
Hi,
after diggin 3 days through the framework and slowly getting better skills, I come to the point to get to know how useful you extension is... if you allow me, I will write a short wiki tutorial on how to build a link between gridview, form and your component;) might be useful to other newbies, to get to know how to implement dyn forms;)
Looking forward to your answer;)
Cheers Phil
Reply to philippfrenzel
i accept you :)
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.