[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1271
  • Last Modified:

does netscape/firefox support document.onreadystatechange?

does netscape/firefox support document.onreadystatechange? if not, what other coding can i use in replace of that?
0
wisecat83
Asked:
wisecat83
  • 2
1 Solution
 
gops1Commented:
Yes it does. Is there any issue with the usage?
0
 
wisecat83Author Commented:
basically i just need to display some <div> section after the page finish loading. my code are below

document.onreadystatechange=pagecomplete;

function pagecomplete() {
   if (document.readyState=="complete") {
            document.all.item("banner").style.display ="";
              for (var i=0; i<aBoxes.length;i++) {
                  document.all.item(aBoxes[i]).style.display ="";alert
            }
   }
}
0
 
wisecat83Author Commented:
so how shld i change to make it work in firefox browser?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now