适用于IE,但不适用于FireFox [英] Works in IE, but not in FireFox

查看:123
本文介绍了适用于IE,但不适用于FireFox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这在IE中效果很好,但在FireFox中没有做任何事情......任何可能出错的想法?我检查了所有的值(在IE中通过警告语句,因为FireFox中没有显示任何内容)并且一切都有效。


谢谢......

This works great in IE, but does not do anything in FireFox... Any ideas of what could be wrong with it? I checked all of the values (in IE through alert statements since nothing shows up in FireFox) and everything is valid.

Thanks...

展开 | 选择 | Wrap | 行号

推荐答案

我只需阅读两行代码即可查看(潜在)问题。 "&的document.all QUOT;只有IE支持,您必须将getElementById(或其他)用于任何其他浏览器。我还没准备好进一步,所以我不知道是否还有更多。
I only had to read two lines of code to see the (potential) problem. "document.all" is only supported by IE, you have to use getElementById (or others) for any other browser. I didn''t ready any further, so I don''t know if theres more.


无论出于何种原因,这部分在两种浏览器中都能正常工作......看起来不像喜欢
That part is actually working fine in both browsers for whatever reason... It does not seem to like the
展开 | 选择 | Wrap | 行号



当我做
展开 | 选择 | Wrap | 行号


这篇关于适用于IE,但不适用于FireFox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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