Which of the following is the correct way to debug JavaScript/jQuery event bindings with Firebug or a similar tool?
Answer
Correct Answer: var clickEvents = $('#foo').data("events").click; jQuery.each(clickEvents, function(key, value) { console.log(value) // prints "function() { console.log('clicked!') }" })
Explanation:
Note: This Question is unanswered, help us to find answer for this one