Let’s say I have two div, #move and #object respectively,
and a function thats move #object when click on #move
$("#move").click(function(){
$("#object").animate({
"left": "+=1px"
}
);
})
How can I abandon or change the Function after
it had been executed a particular number of times using .Keyup() event or something?
Suppose, if you want to off the animation event when key up occurs on any input
Suppose, if you want to off the animation event when use press ESC key