How to call a JavaScript function by string name.

0 Comments

An excellent answer to this question can be found at: http://stackoverflow.com/questions/359788/how-to-execute-a-javascript-function-when-i-have-its-name-as-a-string I knew you could call a JavaScript function by it’s string name, by using window[‘functionName’], but this does not work for namespace functions. When