callback here, is a function which is called when the success callback of ajax is called...
so as an example..
var callback=function(obj){
console.log(obj);
jr.dialog(obj) //jr ??
//do yourstuff with ajax returned data which is as obj here
};
loadAjaxWindow: function (url, callback, async, errorCallback, cache, type, data) {
success: function (data, textStatus, xhr) {
callback(data);
},
}
so this will log datas return by the ajax call if you check in your console.