摘要: ext3.x 不支持ajax的同步请求,ext4就开始支持。 1 Ext.Ajax.request({ 2 url : '', 3 sync:true, 4 params : { 5 name : text.getValue() 6 ... 阅读全文
posted @ 2015-06-19 13:45 Iamabc 阅读(2739) 评论(0) 推荐(0) 编辑
摘要: 1. $.ajax 同步和异步请求 1 $.ajax({ 2 type: "POST", 3 url: "some.php", 4 async : true, // true 异步,false 同步 5 // or data:{name:"John",location... 阅读全文
posted @ 2015-06-19 13:39 Iamabc 阅读(328) 评论(0) 推荐(0) 编辑