Can anyone kindly explain to me what does the following code from the viewmanager demo of the GuaranaUI do?
From var SecondView:
[code]
callAjax: function(callback) {
// AJAX
if (callback) {
callback.apply(this, ['json']);
}
},
show: function() {
this.callAjax(function(response) {
this.getContainer().show();
});
}[/code
More specifically, what is the ajax part doing?

Reply With Quote


