posted 20 years ago
I was trying to build a js function dynamically from another function and trying to call it. But, somehow the dynamic function doesnt work. Can any one help me why the alert('hello') in the function: loadData_313937043() is not being called ?
------------------------------------------------------------------------
function testMe() {
var testUid= '313937043';
var ld = 'loadData_';
var ch = ld.concat(testUid).concat('()');
alert(ch);
ch;
}
function loadData_313937043() {
alert('hello');
}
------------------------------------------------------------------------
Regards,
Babu.