How to debug Javascript/jQuery event bindings with FireBug


/ Published in: jQuery
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var clickEvents = $('#ELEMENT').data("events").click;
  2. jQuery.each(clickEvents, function(key, handlerObj) {
  3. console.log(handlerObj.handler)
  4. })

Report this snippet


Comments


You need to login to view comments.