[jQuery] getJSON w/ PHP
[jQuery] getJSON w/ PHP
I'm trying to use getJSON to return some JSON from a PHP page. I can
see that the request is returning the expected response with Firebug,
but the getJSON callback isn't firing?
My PHP is simply
<?
echo "{ok:true,state:OUT-DECOMMISSIONED}";
?>
Do a need to set a special content type before returning the JSON?