|
Re: compile a var name from another var
> So thanks to whoever it was who posted it previously.
Yeah no problems, I was as much surprised as you are regarding the missing post. ;-)
Just to make matters more clear, every variable you create is a property of some object or the another. In cases where you don't have explicit namespaces declared or trying to declare a function, the parent object is the 'window' object. It is easier to remember this if you keep in mind that almost everything in Javascript is a hash with key value pairs (even arrays!).
|