does netscape/firefox support document.onreadystatechange?

does netscape/firefox support document.onreadystatechange? if not, what other coding can i use in replace of that?
wisecat83Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
gops1Connect With a Mentor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.