Say, i only have the name of the class, I want to construct but i want to call the constructor of this now.
var classname = "HexField";
var hexinst = new ...??? ();
how can i call this constructor, if i only have the name? do i need something like a function
function HexField_construct() {
return new HexField();
}
like this?
or is there a better/smarter way?