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

请求 *.aspx

请求 *.ashx

请求 *.ashx

TAG:

 

评分:0

我来说两句

显示全部

:loveliness: :handshake :victory: :funk: :time: :kiss: :call: :hug: :lol :'( :Q :L ;P :$ :P :o :@ :D :( :)

日历

« 2008-01-27  
  12345
6789101112
13141516171819
20212223242526
2728293031  

我的存档

数据统计

  • 访问量: 59
  • 日志数: 8
  • 书签数: 8
  • 建立时间: 2008-01-08
  • 更新时间: 2008-01-17

RSS订阅

Open Toolbar