Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamically reference user object, like document['myObject']?

Status
Not open for further replies.

j0em0mma

Programmer
Jul 31, 2003
131
US
I have two variables and I have assigned to each an instance of the same user defined object. Based on if/then, I want to get a reference to either variable by name. Is there something like:

Code:
 document['myObjectInstancesVariableName']

available? eval is not an option...
 
Read this post from yesterday, it was about 7 or 8 down from the one you just posted. It should have the info you need:

thread216-1298636

-kaht

[small](All puppies have now found loving homes, thanks for all who showed interest)[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top