action数组传递到页面

Posted on 2009-08-06 10:28 Robert Su 阅读(345) 评论(0)  编辑  收藏 所属分类: AjaxExtJS
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()方法搞定

posts - 103, comments - 104, trackbacks - 0, articles - 5

Copyright © Robert Su