[Javascript] strings into variables

David Levy dlevy at lancer-ins.com
Wed Aug 1 10:02:08 CDT 2001


Hi, I'm trying to turn a string into a variable name.  In other words, suppose I get input from a user, and want to convert that string into a name of a variable and use it in a function.  The reason I have for doing this is that the input I get from the user will be an actual preexisting variable name in the script, but there are very many of these variables and I'd like to refer to them without using switches.  I hope this was clear and please tell me if you need clarification.

David Levy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20010801/28e37408/attachment.htm>


More information about the Javascript mailing list