I am working on a firefox extension. And for some odd reason when I make a ajax call the callback success (the results of success was the list I was looking for but not for complete) will not run, but complete will. With that said, on the server I am returning a array, which is transformed in json. If I must use the complete callback, can I get that list still? Thanks!
$.ajax({
type: "GET",
dataType:'json',
url: "http://api.com/data/album",
complete: function (result) {//success not working
//GET THE LIST RESULT HERE
}
});//End Ajax call to get albums