I would like to get an object on its behalf in Javascript. I am working on an application that will need to be loaded into some other context, I am trying to load different classes using the "inherit" jquery plugin. Everything works fine, except that when I need to initialize a class, I cannot, because I only have the class name and not the object directly.
Basically, I would like to find something like getClass (String name). Can anybody help me?
source share