$('#element').bind({
    specialEvent : function()
    {
        console.log(1);
    }
});
How do I check whether the element has the specialEvent event or not?
$('#element').bind({
    specialEvent : function()
    {
        console.log(1);
    }
});
How do I check whether the element has the specialEvent event or not?
 
    
     
    
    In jQuery 1.8 $(element).data('events') has been removed, but you can still get to the events data for debugging purposes via $._data(element, "events") - check this.
console.log($._data(element, 'events'));
