I have this code below:
$("button").click(function(){
$("button").off('click'); //detach click for the button below
}
Then in the <body>
tag I have this button below
<button>PLAY ANIMATION</button>
So the question is where can I place this code below?
$("button").bind('click'); // In other words I want to
//reattach the click event that I just disabled at some later point