You try to read a parameter named dataString but your Javascript never sends it.
Maybe you can show us what parameters are actually received by the Perl code? Also, what error message are you receiving on the Perl side of things from the JSON module?
Also, even if it works, currently your Perl script won't necessarily return a well-formatted JSON string to Javascript. Use encode_json instead of Data::Dumper for that.
In reply to Re: Read JSON data from a form
by Corion
in thread Read JSON data from a form
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |