I got the dynamic variable name doing
varname = "data" + newid + "['" + name + "']";
I would like to assign a value to the dynamic variable. I tried this
eval(varname) = value;
but it doesn’t work. What do I need to do in order to assign a value to the dynamic variable?
Having said that,
evalis evil. Are you really sure you need to use dynamic variables?