开发者

How to Restore default action a key once we have prevented it?

The problem I am facing is that i have prevented the default action of a key in a function using e.preventDefault();.

Late开发者_运维知识库r when I am done with that function how can I restore the default action of that key?


You could either remove your custom event handler or have a condition on it so that you don't prevent the default action once you no longer need it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜