Then I will get the values from this object. I want to pass these values to another file
On Mon, Sep 12, 2011 at 4:56 PM, T.J. Crowder <t...@crowdersoftware.com>wrote: > Hi, > > On Sep 12, 6:53 am, tani <naveedja...@gmail.com> wrote: > > $('person-example').serialize(true) this code doesn't work, how I > > would implement this > > The more effort you put into your question, the more likely people are > to be able -- and willing -- to help you. > > The examples in the documentation are (and I think this is > unfortunate) written in a form you might use when working with an > interactive console like the ones in Chrome, Firebug, Safari, Opera... > > In actual code, you want to use the result, e.g.: > > var data = $('person-example').serialize(true); > > `data` will receive an object with the serialized form data. Note that > "person-example" must be the **id** (not name) of a form. > > HTH, > -- > T.J. Crowder > Independent Software Engineer > tj / crowder software / com > www / crowder software / com > > -- > 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. > > -- Naveed Jasim Php Programmer Ph:+92-322-9939311 www.saazantech.com -- 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.