Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Access to variables from inline_javascript

Hi all,

I can't find any info about what you can do within the inline_javascript. So hopefully someone here can help.

How can I access my variables which are defined within OpenSesame in my JavaScript, so that I can run things on the browser? The usual ['variable'] does not do the trick.

Many thanks,

Anja

Comments

  • Got it:

    1. variables need to be created in something like the loop item (you can't calculate there, or point to a value which is changed in the JavaScript)
    2. once a variable exists you can address it with vars.[name]
Sign In or Register to comment.