PDA

View Full Version : EXT : 3.X AJAX synch return help



RiceStraw
4 May 2010, 1:51 AM
20306
I import ext-basex.js and overrid the EXT.lib.Ajax,code as follows:

var req2=Ext.Ajax.request({
url:"./flat/topTool.action (http://www.extjs.com/forum/"./flat/topTool.action)",
params:{start:s},
async : false ,
success: function(response, opts) {
alert(response.responseText); //this can return i want data
}
});
alert(req2.conn.responseText);//i want to like this return,but it says "undefined"

i don't know how to update basex.js ,please help me,thanks;

CrazyEnigma
4 May 2010, 11:26 AM
Your answer: asynchronous

4 May 2010, 11:36 AM
http://en.wikipedia.org/wiki/Asynchronous_I/O

http://en.wikipedia.org/wiki/Ajax_%28programming%29

RiceStraw
4 May 2010, 6:07 PM
can you give me some code?thanks