> thanks for your answer.
> I made it the way you say. I build my json string in the beforeSubmit
> function. So, now I have a correct json string, but how can I replace
> the post array?
> Sorry, but I hang at this point.

beforeSubmit: function(arr) {
    var json = // ... build json string
    arr.length = 0; // throw away current array contents (if you want)
    arr[0] = { name: 'someName', value: json };
}

Reply via email to