Question
< smybol not is replaced with < in Execute Javascript window, a bug!!
Captivate has lots of bug apparently. I am trying to change the object state with Javascript.
my code is like this:
if(var_Progress_Percent>0 && var_Progress_Percent <21) {
cp.changeState("progress_image_745","p5");
} else if(var_Progress_Percent>21 && var_Progress_Percent <41) {
cp.changeState("progress_image_745","p10");
} but when I paste this to captivate Javascript Panel, it displayed like this:
if(var_Progress_Percent>0 && var_Progress_Percent <21) {
cp.changeState("progress_image_745","p5");
} else if(var_Progress_Percent>21 && var_Progress_Percent <41) {
cp.changeState("progress_image_745","p10");
}
So nothing works. What is the workaround for this issue?
