what i'm looking for is something that works like the javascript eval(string) function...
eval(string) takes the string and evaluates it.
example:
var varName = prompt("enter the variable's name that you want to alter.")
var varValue=prompt("enter a value for " + varName)
eval(varName+"=varValue")


Reply With Quote