I am trying, in vain it seems, to be able to pass additional parameters back to the success callback method that I have created for a successful ajax call. A little backgro
Put this into your $.ajax parameters.
invokedata: {
data1: "yourdata",
data2: "moredata"
}
In the success function use it like this
this.invokedata.data1;
this.invokedata.data2;
Your $.ajax call and the success function must also be a part of the same object. Put your functions in an object and define them like this
function myObject {
var getImage = function(..) { }
var loadImagesInSelect = function(..) { }
}