[jQuery] A Way to view currently bound event handlers

[jQuery] A Way to view currently bound event handlers


Does anyone know if there is a way to view the function names of the
currently bound event handlers for an element? i.e. if I do $
('.someelem').bind('click', somefunction);, is there a way to check
and see if somefunction is bound to the click event of '.someelem'?
Thanks in advance