I have been struggling to get the callback function to be recognized. My situation is that I have a javascript function that executes when a user clicks a button. This function contains code similar to the following to open the radconfirm prompt window
var oManager = GetRadWindowManager();
oManager.radconfirm(pMsg, "returnFunction",400,300,"Popup Title");
When the user clickes either the Ok or Cancel button the following error occurs.
JavaScript runtime error: Function expected
The function returnFunction(arg) exsits in the same javascript file but is not recognized.
Any ideas as to the issue.