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

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

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

    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.

    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.

    Translate