Re: [jQuery] form plugin: preprocessing params before submitting

2006-11-18 Thread Renato Formato
Mike Alsup ha scritto: >> Is it possible to preprocess the params without changing the API? > > Renato, > > The 'before' handler is passed an array containing the args to be > submitted. You can manipulate this array any way you see fit. When > the 'before' handler returns the array is converte

Re: [jQuery] form plugin: preprocessing params before submitting

2006-11-18 Thread Mike Alsup
> Is it possible to preprocess the params without changing the API? Renato, The 'before' handler is passed an array containing the args to be submitted. You can manipulate this array any way you see fit. When the 'before' handler returns the array is converted to query/post data using jQuery.pa

[jQuery] form plugin: preprocessing params before submitting

2006-11-18 Thread Renato Formato
Hi, i'm using the excellent form plugin but I have a problem. I would like to preprocess the params of the form before submitting them but the "before" function does not allow this kind of manipulation. It allows only to abort the submit. I propose that the value returned by the "before" function