Subj : how to create an instance of class whose name is dynamic? To : netscape.public.mozilla.jseng From : Jun Yang Date : Wed Aug 31 2005 06:01 pm Hi all, I have something like below. function create(className) { return new ; } Of course this is illegal in JavaScript. How can I create an instance of a class whose name is dynamic? Thanks! Jun .