Touch the future...
Ext 调用 ashx 无反应
上一篇 /
下一篇 2008-01-17 14:28:31
/ 个人分类:Puzzled
在 Ext 2.0 中使用对象的 Load 方法请求 *.ashx 文件, 只有第一次有返回值, 以后的请求无反应(没有收到回应), 但是请求 *.aspx 时却是正常的.
Ext :
============================================================
Ext.onReady(function() {
// Note: For the purposes of following along with the tutorial, all
// new code should be placed inside this method. Delete the following
// line after you have verified that Ext is installed correctly.
Ext.get("myButton").on("click",function(){
varmyDiv = Ext.get("myDiv");
myDiv.load({
url:'Ajax/Default.aspx',
params:'name='+ Ext.get("name").dom.value,
text:'Updating...'
});
myDiv.show();
});
});
=============================================================
请求 *.aspx
请求 *.ashx
导入论坛
引用链接
收藏
分享给好友
推荐到圈子
管理
举报
TAG: