阅读背景:

如何模拟单击以使当前输入失去焦点的JavaScript

来源:互联网 

I have an input which at some points happens to have the focus. If the user click in the "background" of the page, the input loses its focus. I was trying to simulate the click on the background with the following code, but this doesn't work (you will notice that the input still has the focus). Any suggestion on how to write code that simulates a click on the "background" of the page?I have an input which at some points happens to




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: