>  You could also push more info into the data array, using the
>  'beforeSubmit' right ?
>  Although, is Mike's option is a possibility, that's always cleaner.

You can add extra data in the beforeSubmit handler, or more
conveniently, in the plugin fn:

$('#myForm').ajaxForm({
    // use data prop to add extra data
    data: { name1: 'value1', name2: 'value2' },
    success: function(){ /* whatever */ }
});

Reply via email to