Ext.Ajax.Request not working in Browser
问题 Ext.Ajax.Request doesn't seem to work on desktop web browsers for me. It works perfectly fine on devices and on the xcode simulators but on desktop web browsers, it calls on the failure method. Here is the code: // send ajax request Ext.Ajax.request({ url: 'http://testapp.cloudapp.net/index.php/api/accounts/login/', method: 'POST', params: { username: Ext.getCmp('username').getValue(), password: Ext.getCmp('password').getValue() }, dataType: 'json', success : function(response, request) { if