Is there a way to access a javascript variable using a string that contains the name of the variable?
<p>This way I could have a function that says whatever_way_you_do_this = something. Is this possible? Basically I could tell a function which variable I want to set by giving it a string that holds the name of the variable.</p>

<p>Thanks</p>
