In short, it seems that the event handler function registered via the bind() method is not available through the element's onXXX attributes. For example:
$('#myEle').bind('click', function(){ // do something }); but the myEle.onclick attribute is still undefined after the above bind() call. The handler is registered into the $events hash, I believe, but I couldn't figure out how to get the reference to it. Can anyone help me out? Thanks!