Ext.Ajax.request返回值出错
*.php
$son = new Services_JSON();
$temp = $son->encode($json);
echo $temp;
上面的$temp已经是json格式了([{"title":"\u673a\u6784\u4ecb\u7ecd","autoScroll":"true","border":"false"},{"title":"\u653f\u7b56\u6587\u4ef6","autoScroll":"true","border":"false"},{"title":"\u53d1\u5c55\u89c4\u5212","autoScroll":"true","border":"false"},{"title":"\u7edf\u8ba1\u4fe1\u606f","autoScroll":"true","border":"false"},{"title":"\u884c\u653f\u4e8b\u4e1a\u6027\u6536\u8d39","autoScroll":"true","border":"false"},{"title":"\u653f\u5e9c\u91c7\u8d2d","autoScroll":"true","border":"false"},{"title":"\u884c\u653f\u5ba1\u6279","autoScroll":"true","border":"false"},{"title":"\u4eba\u4e8b\u7ba1\u7406","autoScroll":"true","border":"false"},{"title":"\u603b\u7ed3\u8ba1\u5212","autoScroll":"true","border":"false"},{"title":"\u5de5\u4f5c\u52a8\u6001","autoScroll":"true","border":"false"},{"title":"\u7efc\u5408\u4fe1\u606f","autoScroll":"true","border":"false"}])
但是在Ext.Ajax.request中的responseArray却出错,怎么弄?
var responseArray = Ext.util.JSON.decode(result.responseText);