My Ajax-Request does return this result (which generally is a valid JSON-string):
{"status":"ERROR","message":"Errore: Ti prego di inserire la domanda!"}
This is the Response Header:
Connection:Keep-Alive
Content-Length:80
Content-Type:application/json; charset=utf-8
Date:Sat, 16 Feb 2013 10:02:18 GMT
Keep-Alive:timeout=5, max=97
Server:Apache/2.2.21 (Win32) PHP/5.3.8 mod_perl/2.0.4 Perl/v5.10.1
X-Powered-By:PHP/5.3.8
When I directly copy/paste the JSON-string from the browser console to an JSON parser like http://jsonlint.com it results "Unexpected token". Why?
I've tested it also by rewriting the same string in a text editor - of course this one results "Valid"...