If I do something like this in Firebug console:
$(document).on("click",".my_class", function () {
// do something
});
Is it possible to remove this event, so that I could test other events on the same element without the first defined on()
event running as well?
I've tried running:
$('.my_class').off('click');
But that doesn't seem to do anything.
$(document).off("click", ".my_class")