eLBX Online 2021 | June 22 - 24

Join us for a FREE, 3-day virtual conference featuring industry experts and eLearning thought leaders. Learn about critical topics such as eLearning accessibility, learning experience design, course authoring, virtual reality, and gamification. Register today!

Accessing Lectora variables from JavaScri

bobwillingham Community Member Posts: 9
Let's say I declare a variable in Chapter 1 named Module1 which I set to a value of 1. Then at the end of the course if I try to access Module1 using JavaScript in an external HTML object like this:function reportStatus()var1=Module1.getValue();alert(var1);I get nothing. Am I accessing the Module1 variable incorrectly? Also how would I address a text box named text1 to display var1 inside it? Thanks.
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!