Sign in to follow this  

[web] javascript for loop fubar

Recommended Posts

Wan    1366
Original post by Feralrath
i get errors saying that tempid has no properties in firefoxes error console.

That's normally a sign that it can't find the element, probably because it doesn't exists. What does document.getElementById("background") return?

-- Edit --

BTW, you are writing code for compatibility withvery old browsers (document.layers and to a lesser extend document.all). That's very thoughtful of you, but do you really want to go through all that trouble?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this