Explore the community Forums Lectora Inspire Tools Questions & Answers Passing HTML extension value to lectora variable Reply To: Passing HTML extension value to lectora variable

#441388 Score: 0
Profile photo of JamesHill
JamesHill
Member
friend finder
beginner
intermediate
curious george
wise owl
contributor
@JamesHill

OK thanks for your messages, so i have added an action to a submit button in lectora.

“Run JavaScript” and added the following:

Varname.getValue(this.value);
Var_slider1.set(this.value)

I get an error message after pressing the submit button “[OnMClkRunJS] ReferenceError: Varname is not defined”

What should “Varname” be?