Find events bound to an element using jQuery

The following line of code was a lifesaver for me, I was developing a phone gap (cordova) application and the camera bound to an onClick event was called 3 times. It took me a while to realise that it was due to  3 onClick listeners.

simply use jQuery Selector to select the specified element, in this case  “#Complaints_CamUpload”

Events bound to element  onClick is bound a single time as indicated by [1]
Events bound to element
onClick is bound a single time as indicated by [1]

$._data( $('#Complaints_CamUpload')[0], 'events' );