How to do a Jquery Callback after form submit?

I just did this –

 $("#myform").bind('ajax:complete', function() {

         // tasks to do 


   });

And things worked perfectly .

See this api documentation for more specific details.

Leave a Comment