Am Sonntag, 28. Mai 2006 17:17 schrieb John Wang:
> What version of prototype are you using? I think you need to be running
> 1.4.0 or higher. I'm using 1.5.0 rc0 and auto-eval of X-JSON works.
[...]
Hi John,
i'm using 1.5.0-rc0 too. So the problem must be in my PHP script. How do you
send the header? I've tried the below content types followed by a simple
echo() of the json string.
header("Content-Type: X-JSON");
header("Content-Type: text/x-json");
header("Content-Type: application/x-json");
--
Dirk Eschler <mailto:[EMAIL PROTECTED]>
http://www.krusader.org
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs