Progress bar variable
June 7, 2017 12:00 AM
Is there a way with javascript to get the name of the variable associated with a progress bar?
I'm trying to control a progress bar with javascript but I'm currently forced to hard code the associated variable name (which is less than ideal).
Discussion (3)
If im not mistaken ( Lectora not available atm, can doublecheck it later ), you can use a variable in the 'Set progress Action' thus your variable is the actual progress. This variable you offcourse can update and read whenever needed.
Thanks for that. I played around with it and I discovered that I don't need the variable to set the progress bar position using JavaScript. That is, in my case the progress bar's variable name is moot.
You should be able to get a get statement of come sort. The name within Lectora will be ProgressBar_####
Discussions have been disabled for this post