Alain Roger wrote:
Hi,
i didn't find anything on jQuery and JSON. is there any decoder ?
thanks a lot.
jQuery just does an eval on JSON. so no data checking
If you want data checking, go to http://json.org, and download the
javascript JSON implementation.
They do change the array and
You can't do a cross-domain POST. JSON or JSONP don't add this capability.
You just can't do it.
You can do a cross-domain GET, of course, and use query parameters to pass
data to your server.
So, you can use $.getJSON with query parameters in the URL and the callback=
option for JSONP, and
Thanks Mike! I understand now why I need to do a GET and can't do a
POST. What would I do in the function(response){} part?
On Aug 25, 4:13 pm, Michael Geary [EMAIL PROTECTED] wrote:
You can't do a cross-domain POST. JSON or JSONP don't add this capability.
You just can't do it.
You can do
Thanks Mike! I understand now why I need to do a GET and can't do a
POST. What would I do in the function(response){} part?
On Aug 25, 4:13 pm, Michael Geary [EMAIL PROTECTED] wrote:
You can't do a cross-domain POST. JSON or JSONP don't add this capability.
You just can't do it.
You can do
I don't know, what do you want to do there? You said this is for feedback,
so I assume you may want to display some kind of message after you receive
it.
Your server should send back a JSONP response of some sort. You can put any
kind of data you want in it, maybe a status code and an HTML
5 matches
Mail list logo