开发者

Why is it called onBlur? [closed]

开发者 https://www.devze.com 2023-03-18 13:44 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel th开发者_运维知识库at this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

JavaScript has an event called onBlur that fires when a control loses focus. My question is: Why is it called that? Wouldn't all of our lives be easier if it was called OnFocusLost?


I would imagine it is called this because when you lose focus on something it tends to become blurry.

No, I don't necessarily believe that my life would become easier if it was suddenly changed to onFocusLost.

0

精彩评论

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

关注公众号