in reply to Re: Read JSON data from a form
in thread Read JSON data from a form
But by serializing the data this codemy $name = $q->param( 'name' ) || ''; my $email = $q->param( 'email' ) || ''; my $zip = $q->param( 'zip' ) || '';
adds all the values into a string. Doesnt this line: my $data = decode_json($q->param('dataString')); grabs all that the from is sending?var formData = $("#reply-form").serialize(); alert(formData);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Read JSON data from a form
by Corion (Patriarch) on Dec 29, 2013 at 19:22 UTC | |
by Anonymous Monk on Dec 29, 2013 at 19:33 UTC | |
by Corion (Patriarch) on Dec 29, 2013 at 19:38 UTC |