$("p").on("click",function(){alert("The paragraph was clicked.");});
$("button").click(function(){$("p").off("click");});