Captivate 7 - Captivate Javascript commands not executing.
The common javascript command
alert("message")
works just fine.
Captivate specific commands do not and stop the execution of any subsequent javascript.
alert("message1");
var myStr = window.cpAPIInterface.getVariableValue("myVariable");
myStr = myStr.toUpperCase();
window.cpAPIInterface.setVariableValue("myVariable", myStr);
alert("message2");
The first alert executes, the second alert doesn't, and the Captivate variable doesn't get modified to uppercase.
Is more than the standard.js file required for the Captivate commands to function?
