Hello,
is it possible to use/convert a value in a variable to a variable name?
I have a object data.monday = 5
var test = "monday";
I want to use something like alert(data.test); Offcourse this is not working, anyone an idea what I could do?
visit my website at
is it possible to use/convert a value in a variable to a variable name?
I have a object data.monday = 5
var test = "monday";
I want to use something like alert(data.test); Offcourse this is not working, anyone an idea what I could do?
visit my website at