var test = $("<div>test</div>"); test.appendTo(document.body); test.click(function() { alert("O_o") }); var handlers = test.data("events").click; for (var listener in handlers) { handlers[listener](); }