Ext.onReady(function() {
Ext.Ajax.request({
url : 'Scripts/test.js',
method : 'GET',
success : function(response, opts) {
alert(response.responseText);
}, // 请求成功的回调函数
failure : function() {
alert("获取目录请求失败!");
} // 请求失败的回调函数
});
}
);
[extjs3.4]异步请求
猜你喜欢
转载自blog.csdn.net/wzp1986/article/details/41632623
今日推荐
周排行