Javascript Captivate setVariableValue赢得';不显示完整字符串?
我要在captivate中设置一个测验。在测验结束时,它会在幻灯片上的文本框中显示关于不正确答案的注释,但是当我测试时,只有一部分字符串会显示出来,并且会在字符串中间截断。这不是因为文本框太小 我将其设置为:Javascript Captivate setVariableValue赢得';不显示完整字符串?,javascript,setvalue,adobe-captivate,Javascript,Setvalue,Adobe Captivate,我要在captivate中设置一个测验。在测验结束时,它会在幻灯片上的文本框中显示关于不正确答案的注释,但是当我测试时,只有一部分字符串会显示出来,并且会在字符串中间截断。这不是因为文本框太小 我将其设置为: textArray[0] = "Here is some note about an incorrectly answered question."; window.cpAPIInterface.setVariableValue("textBox", textArray[0]); //
textArray[0] = "Here is some note about an incorrectly answered question.";
window.cpAPIInterface.setVariableValue("textBox", textArray[0]);
// where textBox is a captivate variable.
当测试时,它将显示如下内容
“这是一些注释ab”