Hello again,

thanks, my input fields had no name attribute, now it works!

sorry for doubleposting.

Best Regards,
Ralph

On 14 Feb., 12:16, "T.J. Crowder" <t...@crowdersoftware.com> wrote:
> 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 <ralph.pavensta...@gmail.com> 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 <ca...@two-wings.net> 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 prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to