Hi Kashyap, I think that {} could not be serialized in URL. You have to do it yourself.
Try to serialize details sepratly. I know it's not simple sometime, but I did not see other way to do it. Peehaps someone will have a good idea? -- david On 15 oct, 17:16, kashyap <ckkash...@gmail.com> wrote: > Hi all, > How can I post a nested json string using Updater - > > var param={ name: "abc", details: {d1: "xxx", d2: "yyy"}, id: 10} > > new Ajax.Updater( > '#{options[:update_html_id]}', > '#{options[:update_url]}'+id, > { > asynchronous:true, > evalScripts:true, > parameters: param > } > ); > > This seems to ignore the "details" key in the param hash! > > How can I make updater send all the details? > > Regards, > Kashyap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---