possible passing custom variable in to Javascript as variable?

Q&A about the latest versions
Post Reply
Spine3d
Posts: 27
Joined: Mon May 04, 2020 8:46 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: 27
Joined: Mon May 04, 2020 8:46 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: 27
Joined: Mon May 04, 2020 8:46 pm

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

Lee
Post Reply