Posted on 2009-08-06 10:28
Robert Su 閱讀(346)
評論(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()方法搞定