How can I hook up an event to a function name I have defined as a string?
I\'m using Prototype.js, although this is not Prototype-speficic.
$(inputId
If you need to call a string function with arguments, do this:
window[stringFunctionName].apply( window, arrayOfArguments )
You can use scope in place of window if preferred
scope
window