self.focus停止所有键盘输入到窗口 [英] self.focus stopping all keyboard input to window

查看:69
本文介绍了self.focus停止所有键盘输入到窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




在我的php文件的顶部,我有: -


< body onblur =" self。 focus();">


所以当我点击另一个窗口时,我的窗口会在前面回来

这是完美的。然而问题是,当我尝试输入我的

表格框时,密钥传输全部丢失(即键盘是

禁用)!


任何人都可以放光吗?

谢谢,Mark

解决方案

17日星期三2004年11月20:34:41格林威治标准时间,马克写道:

任何人都可以放任何光吗?




''放在那里焦点''


翻译:首先关注焦点。


-

Andrew Thompson
http://www.PhySci.org/codes/ Web& IT帮助
http://www.PhySci.org/ 开源软件套件
http://www.1point1C.org/ Science&技术
http://www.LensEscapes.com/ 图像逃脱世俗的




" Andrew Thompson" <硒******** @ www.invalid>在留言中写道

新闻:13 ***************************** @ 40tude.net ...

2004年11月17日星期三,格林威治标准时间20:34:41,Mark写道:

任何人都可以放弃任何光线吗?



''让我们专注''

翻译:首先关注焦点。




呃。 ...再说一遍?

谢谢,Mark


2004年11月17日星期三21:01:21 GMT,Mark写道:

" Andrew Thompson" <硒******** @ www.invalid>写在消息

2004年11月17日星期三20:34:41 GMT,Mark写道:

任何人都可以放弃任何光线吗?



''让它有焦点''

翻译:首先停止填充焦点。



呃....再说一次?




我会再试一次,慢一点..


< body onblur =" self.focus();">造成问题。 :-(


< body>修复问题。;-)

-

Andrew Thompson
http://www.PhySci.org/codes/ Web& ; IT帮助
http://www.PhySci.org/ 开源软件套件
http://www.1point1C.org/ Science&技术
http://www.LensEscapes.com/ 图像逃脱世俗的


Hi,

At the top of my php file I have got :-

<body onblur="self.focus();">

so when I click off onto another window, my window comes back up in front
which is perfect. The problem however, is that when I try to type into my
form boxes, the key transfers are all being lost (i.e. keyboard is
disabled)!

Can anyone shed any light?
Thanks, Mark

解决方案

On Wed, 17 Nov 2004 20:34:41 GMT, Mark wrote:

Can anyone shed any light?



''Let there be focus''

Translation: Stop stuffing with the focus in the first place.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane



"Andrew Thompson" <Se********@www.invalid> wrote in message
news:13*****************************@40tude.net...

On Wed, 17 Nov 2004 20:34:41 GMT, Mark wrote:

Can anyone shed any light?



''Let there be focus''

Translation: Stop stuffing with the focus in the first place.



Er....say again?
Thanks, Mark


On Wed, 17 Nov 2004 21:01:21 GMT, Mark wrote:

"Andrew Thompson" <Se********@www.invalid> wrote in message

On Wed, 17 Nov 2004 20:34:41 GMT, Mark wrote:

Can anyone shed any light?



''Let there be focus''

Translation: Stop stuffing with the focus in the first place.


Er....say again?



I''ll try it again, slower..

<body onblur="self.focus();"> creates problem. :-(

<body> fixes problem. ;-)

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane


这篇关于self.focus停止所有键盘输入到窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆