search for: zend_json

Displaying 1 result from an estimated 1 matches for "zend_json".

2006 May 28
13
JSON not auto-evaluated
Hi, please consider this stripped down example: new Ajax.Request(''foo.php'', { onSuccess: function(t, json) { alert(json.myParam); } }); According to http://www.sergiopereira.com/articles/prototype.js.html, the second param is supposed to be the evaluated json object IF the X-JSON header is send in the response. I send the header in my script. However, the json var