Easy, you're welcome. On Jan 14, 2011 5:20 PM, "ehickstech" <[email protected]> wrote: > Brilliant!! Thank you so much! > > On Jan 14, 10:39 am, Rüdiger Kaatz <[email protected]> wrote: >> Hi there, >> >> I suppose the mistake is in passing in a string to parameters. Better >> do it like this: >> >> > new Ajax.Request("/edit/doorhangers/add_ajax/", >> > { >> > encoding: 'UTF-8', >> > method: 'post', >> > parameters: {qty: $F('qty'), size: $F('size'), stock:$F('stock'), sides:$F('sides'), price: $F('price') } , >> > onComplete: showResponse >> > }); >> > } >> >> Found onhttp://www.prototypejs.org/api/ajax/options >> >> Cheers, >> Rudi. >> >> > > -- > 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]<prototype-scriptaculous%[email protected]> . > For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en. >
-- 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.
