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
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/