首页 > Web开发 > 详细

extjs Ext.Ajax.request 同步和异步

时间:2015-06-19 14:53:09      阅读:305      评论:0      收藏:0      [点我收藏+]

 ext3.x 不支持ajax的同步请求,ext4就开始支持。

 1  Ext.Ajax.request({
 2        url : ‘‘,
 3        sync:true,
 4        params : {
 5           name : text.getValue()
 6        },
 7        success : function(response, options) {
 8             var responseArray = Ext.util.JSON.decode(response.responseText);
 9           resultValue=responseArray.resultValue;
10       }
11 });

extjs Ext.Ajax.request 同步和异步

原文:http://www.cnblogs.com/gxl00/p/4588429.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!