.off()
In this chapter you will learn:
Use .off()
.off()
removes events.
The following code snippet shows how to remove click event from different selectors.
$("#delegate").off("click", "p");
$(document).off("click", "#anchor");
$("#aDiv").off('click');
Next chapter...
What you will learn in the next chapter: