ok, this should be an easy one and I always seem to forget this…
I have this code and in it “quiz_name_str” is a variable. Can anyone tell me how to evaluate this so that the variable gets set as the value of “quiz_name_str”, instead of “quiz_name_str”? I was thinking eval(), but that didn’t work and I know this should be simple, but now I am stumped.
The code:
[COLOR=red]quizData.data.quiz_name_str = “test”;[/COLOR]
Thanks!!