Hi, Have you inspected formhash in Firefox to make sure that it contains other fields? That code should work fine. Do your form fields have names (not just ids)?
Complete working example; the server side (not given) just echoes the parameters in an HTML fragment: http://pastie.org/389054 HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Feb 13, 4:09 pm, Ralph <[email protected]> wrote: > Hello, > > I tried the same and adding new key with values worked very good, > thanks. > I've got another problem, my form won't send data. Only orderID is > transmitted via post. (all id-attributtes are set) > > function updateOrder(orderID) > { > var formhash = $('form'+orderID).serialize(true); > formhash.orderID = orderID; > > new Ajax.Request('modules/orders/updateorder.php', > { > method: 'post', > parameters: formhash, > ... > > is it a problem that my <form> is created asynchronous? > > Thanks for your help, > Ralph > > On 31 Jan., 11:40, coruscant <[email protected]> wrote: > > > Ok, I got it to run now. Thank you very much for your help. I guess > > your last post is worth to be added to the documentation of > > form.serialize, I think it could help other people to save some time. > > > Best Regards, > > Benedikt. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---
