Skip to main content
1-Visitor
March 3, 2014
Solved

how to get the variable's value in an external javascript

  • March 3, 2014
  • 1 reply
  • 990 views

Hi,all.

I defined a variable in the Arbortext Editor's command line,such as "$i=5",and I want to get the variable's value in an external javascript,what should I do?

Thanks

    Best answer by ptc-5649299

    I have already solved the problem.In the javascript,we can use "Acl.eval("i")" to get the variable's value.Wish to help you.

    1 reply

    ptc-56492991-VisitorAuthorAnswer
    1-Visitor
    March 3, 2014

    I have already solved the problem.In the javascript,we can use "Acl.eval("i")" to get the variable's value.Wish to help you.