I have a string which represents a name of a class defined using mootools Class. I can't figure out how to create an instance based on this string name.
The following does not work: new (classNameString)(); Any ideas? thanks, Jon
I have a string which represents a name of a class defined using mootools Class. I can't figure out how to create an instance based on this string name.
The following does not work: new (classNameString)(); Any ideas? thanks, Jon