Posted on 2009-08-06 10:28
Robert Su 阅读(332)
评论(0) 编辑 收藏 所属分类:
Ajax 、
ExtJS
Ext.Ajax.request({
url : '../../topicInfo/topicInfoNode.htm',
success : getTopicInfoArray,
method : 'post'
});
function getTopicInfoArray(response, options) {
topicInfo_arr = eval(response.responseText);
Ext.onReady(renderAll);
}
也可以用Ext.util.JSON.decode()方法搞定