I am working with some existing javascript and I have the following code:
launchDialog(myUrl,function(result, returnValue){
//whatever
});
This code launches a modal window and when that window closes, the callback function fires.
What I am wondering is if it is possible for me execute some javascript from the modal that will allow me to set the returnValue
parameter of my callback function?
FYI:
Not sure if it matters, but this is a dumbed-down version of some existing SharePoint javascript. I cannot change the functionality of the lauchDialog
function, but I can add javascript to the modal and the callback function.