document.all
is non-standard. This was a Microsoft-specific feature that they added to IE. Most other browsers have never supported it.
Even in IE, it is now deprecated. You should not use it.
(your old project should be very old, because this has been happening for quite some time)
In most cases, you can use document.getElementById()
.
If you use document.all
to get an element using its identifier, then document.getElementById()
is a direct replacement.
If you use document.all
to get an element in some other way, I recommend switching to receiving it by ID (add an identifier if necessary).
I note that the way the element is used makes it look like an activeX control. (i.e. I see things like .object.Filter
, .recordset.movefirst
, etc.)
If so, then you need to know that Firefox does not support ActiveX controls at all. They are also specific to IE. If this is an activeX control, and you need it to work in Firefox, then, unfortunately, you probably have quite a few rewriting you.
source share