Last active
January 2, 2016 00:59
-
-
Save weeksdev/8227212 to your computer and use it in GitHub Desktop.
ExtJS Ajax Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.Ajax.request({ | |
url: 'page.php', | |
params: { | |
id: 1 | |
}, | |
success: function(response){ | |
var text = response.responseText; | |
// process server response here | |
// var jsonData = Ext.JSON.decode(response.responseText); | |
// console.log(jsonData); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment