Is there a way to get custom handler functions for click events defined in JavaScript? Example
function foo() { } document.getElementById(\'boo\').onclick =