Explore the community Forums Lectora Lectora Questions & Answers Importing a Javascript file at run time Reply To: Importing a Javascript file at run time

#373120 Score: 0
Profile photo of Andrew Lian
Andrew Lian
Member
beginner
intermediate
friend finder
advanced
contributor
wise owl
curious george
profile
12 pts
@mlapl1

I think I have partly worked it out. The file reference must be inserted manually as something like <script src=”xyz.js”></script> – it must not be a Lectora inserted file – the inserted .js file should not include <script> tags.

I am telling this story so others who may have the same problem might benefit a bit. This works with example files – still not functional in my real files.