method calling in java script 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]();