possible passing custom variable in to Javascript as variable?

Q&A about the latest versions
Post Reply
Spine3d
Posts: 16
Joined: Mon May 04, 2020 8:46 pm

Thu Apr 08, 2021 5:49 pm

Hi :
possible passing custom variable in to Javascript as variable? I get the error message, the javascript does no recognize "*" when I use the custom var which something look like this "$(*custom_var)"

Thank you very much.

Lee
Spine3d
Posts: 16
Joined: Mon May 04, 2020 8:46 pm

Thu Apr 08, 2021 7:48 pm

Hi:
Seems JavaScript won't take any custom variable $(*variable). Is any other way I use custom variable in external javascript function?
this sample I am testing .
javascript:"";
test={$(*shed_size_text)};
alert(test);

No luck, still get error message.

Thank you.
Spine3d
Posts: 16
Joined: Mon May 04, 2020 8:46 pm

Fri Apr 09, 2021 3:40 am

Hi:
Just find out by myself. I can tracking the custom var by using pano.getVariableValue() function

Lee
Post Reply