recently I encountered the following problem:
I'm trying to access a specific object from the 'Window' object.
for example:
I'm trying to invoke:
var obj=window.control0
This should return me a javascript object.
my problem is that the controlId ('control0' in this case) is known only on run time.
Assuming i have the controlId (in a primitive string), how can i build a dynamic statement to access the desired control from window object?
Hope I was enough clear...
Thank's for helping,
Asaf.


