Variables, objects...

admin

Administrator
Staff member
Hello all! Thanks for taking the time to read me :) I'm trying to find a way to use a variable to reference an object.. I think. Here's the effect I want:

var strThing = "cookie"
document.strThing = "I have a cookie now."

Any way to do something like this? Thanks for any insight!
 
Back
Top