callfunction javascript code example
Example: javascript function call with variable
function abc() {
alert('test');
}
var funcName = 'abc';
window[funcName]();
function abc() {
alert('test');
}
var funcName = 'abc';
window[funcName]();