Hi there.
How can I concat string and create an object???
Like we do in PHP.
function createObj($id){
$str = 'controllers_config_' + $id;
return new $str();
}
$obj = createObj('structures');
How can I do this in Jquery or Javascript ????
I hope I've explained. Thanks