Hi,
On Sep 12, 6:53 am, tani <[email protected]> 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 [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.