On 11/08/06, Mike Alsup <[EMAIL PROTECTED]> wrote:
> The forms plugin (see forms.js in svn) provides excellent form support
> including things like:
>
> - submitting form via ajax
> - gathering form values
> - providing pre-submit validation callback
> - updating a target element with submit results
>
> As an example, you can fully wire a form for ajax submitting with a
> single call like this:
>
> $('#myForm").ajaxForm(
>     '#myTargetElementId', // id of dom element to update
>     postCallbackFn, // invoked after submit
>     preCallbackFn   // invoked before submit (validation hook)
> );
>
> I have a test page for this plugin posted at: http://malsup.com/jquery/form
>
> Mike
>

Wouldn't it make more sense if it was preCallback then postCallback -
or is it done that way because you will probably want a callback after
posting, but may not before doing so?

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to