如何在JavaScript代码中使用已定义的变量? [英] How can I use defined variables in JavaScript code?

查看:73
本文介绍了如何在JavaScript代码中使用已定义的变量?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用一些变量(由'Initialize variable'和append设置),我想在我正在运行的JavaScript代码中使用它们的值。

I'm using some variables (set by 'Initialize variable' and append) and I would like to use their values in a JavaScript code I'm running.

使用JavaScript代码中的变量名称会产生'x not defined'

Using the variables names as is in the JavaScript code yields 'x not defined'

推荐答案

变量不能用于Javascript代码操作。使用 来自动作体/触发体的值。
Variables cannot be used in Javascript code action. use the  value from action body / trigger body directly.


这篇关于如何在JavaScript代码中使用已定义的变量?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆