Hi Joonas, I think this is a good change and I've committed it to SVN. Thanks for your feedback!
http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js Mike > I needed access to the form that's being submitted in the > options.success() function (in order to hide the form after successful > submission). > > I ended up modifying line 222 in jquery.form.js. I added $form as the > third argument for all callbacks, like so: > > options.success = function(data, status) { > for (var i=0, max=callbacks.length; i < max; i++) > callbacks[i](data, status, $form); // added $form as third > argument. > }; > > Is there a better way of accessing the form from the callbacks or > would the plugin developer(s) consider adding this or another similar > modification to the code? > > Joonas >