Hello it is possible to access the value of a JavaScript variable by name? Example:
var MyVariable = \"Value of variable\"; function readValue(name) {
Global variables are defined on the window object, so you can use:
window
var MyVariable = "Value of variable"; alert(window["MyVariable"]);