How do you copy an event handler from one element to another? For example:
$(\'#firstEl\') .click(function() { alert(\"Handled!\");
$('#secondEl').click = $('#firstEl').click.bind($('#secondEl'));
Assuming you are using Prototype JS (http://www.prototypejs.org/api/function/bind)