Hello it is possible to access the value of a JavaScript variable by name? Example:
var MyVariable = \"Value of variable\"; function readValue(name) {
Try this ^_^
var MyVariable = "Value of variable"; alert(readValue("MyVariable")); function readValue(name) { return eval(name) }