Hi ,
i want to run a javascript when the Opportunity gets closed, but even though the opportunity form is getting disabled and status is changing the javascript is not getting triggered.
the code that i am using is :
function ABC(execObj) {
debugger;
try {
var status = execObj.getEventArgs();
if (status.getSaveMode()==5 || status.getSaveMode()==”5″) {
alert(“message”);
}
else if (saveMode == “6”) {
alert(“Opportunity ” + saveMode);
}
}
catch (ex) {
alert(“exception”);
}
}
Above mentioned function is not getting triggered on close of opportunity ..the function is registered on Opportunity form “OnSave”.
Any Suggestion ?
*This post is locked for comments
I have the same question (0)