onblur不在firefox中工作 [英] onblur not working in firefox

查看:75
本文介绍了onblur不在firefox中工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,生病了我的一些代码,请记住还有更多。

不一定是firefox bug,但它没有做我想要的东西:)


这是一个下拉菜单,但我很感激帮助解决这个问题,我不是在寻找关于如何做下拉菜单的输入,等等。

Okay, ill post a bit of my code, keep in mind theres alot more.
Not necessarily a firefox bug, but its not doing what I want it too :)

This is for a dropdown, however I would appreciate help with the problem, Im not looking for input on how else to do the dropdown, ect.

展开 | 选择 | < span class =codeLinkonclick =WordWrap(this);> Wrap | 行号

推荐答案

您必须发布其余代码或链接。我测试了你的代码,它在FF3中工作正常。
You''ll have to post the rest of your code or a link. I tested your code and it works fine in FF3.


编辑:没关系,这是一个链接

网站或网络应用程序:
http://www.gcstore.co.nz/example.htm [警告:如果使用IE浏览器可能会导致崩溃]

Javascript(主要的一个,但还有几页)
http://www.gcstore.co.nz/wds/toolbar_class_methods.js

但你在ie和ff中查看:)


谢谢
Nevermind heres a link
The Site or Web app:
http://www.gcstore.co.nz/example.htm [Warning: may cause crash if using IE]
Javascript (the main one but there are several more pages)
http://www.gcstore.co.nz/wds/toolbar_class_methods.js

but yeh view in ie and ff :)

thanks


这解释了它。我以为你在谈论一个下拉选择元素(这是我测试过的)。对于大多数元素,Firefox和可能是大多数浏览器,模糊事件都没有定义。请参阅此链接


使用其他元素的焦点,或使用编辑器窗口的click事件。
That explains it. I thought you were talking about a drop down select element (which is what I tested with). With most elements, Firefox and probably most browsers, the blur event isn''t defined. See this link.

Either use the focus of other elements, or use the click event of the editor window.


这篇关于onblur不在firefox中工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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