malsup wrote:
>
> This sort of thing comes up a lot so I've added a new callback
> function called 'beforeSerialize'. You can use it like this:
>
> var ajaxFormOptions = {
> beforeSerialize: function($form, opts) {
> $("#hidden_input").attr("value","test");
> }
> };
>
> $('#form').ajaxForm(ajaxFormOptions);
>
>
> The updated plugin is available here:
>
> http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js
>
Sounds good, thank you very much :)
--
View this message in context:
http://www.nabble.com/Form-Plugin%3A-editing-adding-data-before-send-tp20359407s27240p20366636.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.