I use metagrid, where on double click I have to retrieve from server which form to display. The case is that I have to dynamically instantiate a Form from a retrieved string.
I tried with:
but this does not work.PHP Code:
var className = 'FormName';
var form = new className();
How can I do it?