Reputation: 11486
I am trying to use Ext.Ajax.request in ExtJS 4.02a but it will not run at all inside of Ext.onReady, when I take it outside of Ext.onReady it runs fine. Is there some config I am missing?
My call is set-up as follows:
Ext.Ajax.request({
url: '../json?queryName=tapAccounts¶meters=',
success: function(response) {
accounts = Ext.decode(response.responseText)
}
});
Upvotes: 0
Views: 835
Reputation: 3413
my i know how do you put your ajax inside onready
???
Ext.onReady(function(){
//put ajax here
});
take look at my sample here
Upvotes: 1