Progress bar variable

approg Community Member Posts: 258 ♪ Opening Act ♪
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).


  • mnotermans5114
    mnotermans5114 Community Member Posts: 916
    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.
  • approg
    approg Community Member Posts: 258 ♪ Opening Act ♪
    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.
  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    You should be able to get a get statement of come sort.  The name within Lectora will be ProgressBar_####