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

请求 *.aspx

请求 *.ashx

请求 *.ashx

TAG:

 

评分:0

我来说两句

显示全部

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

日历

« 2008-10-14  
   1234
567891011
12131415161718
19202122232425
262728293031 

数据统计

  • 访问量: 922
  • 日志数: 25
  • 文件数: 1
  • 书签数: 18
  • 建立时间: 2008-01-08
  • 更新时间: 2008-09-11

RSS订阅

Open Toolbar