Yii 1.1: ajaxform

Ajax Form

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!




  • Yii 1.0 or above


  • Extract the release file under protected/extensions


See the following code example:

        '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.

Total 3 comments

#3073 report it
jerry2801 at 2011/03/14 02:46am
Reply to philippfrenzel

i accept you :)

#3069 report it
PinkBrainPlan at 2011/03/13 09:40am


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

#1996 report it
nuxtech at 2010/10/27 12:37pm
nice extension dude

simple and easy to used. thanks dude..

Leave a comment

Please to leave your comment.

Create extension