Forum Moderators: open

Message Too Old, No Replies

Error on page message on Internet Explorer 6 & 7

Object required

         

mespejo

10:31 am on Jul 19, 2006 (gmt 0)

10+ Year Member



When I try to access my homepage on IE on the status bar I get an error on page message. When I try to get more info, it says Object Required, Code 0. What does it mean? I don't get any error messages from other browsers.

I used css to style the page and javascript. I appreciate any comments/suggestions.

rocknbil

5:19 pm on Jul 19, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Object Required means you are trying to reference an object that doesn't exist, in this case most likely calling a Javascript function that is not defined, or Javascript is acting on an object that has not yet been rendered. Causes can be anything from an error in your html code that renders the Javascript inoperable to the function being in the wrong place - for example, if you have Javascript in the head of the document that executes as soon as it loads and it references some object in the body, it will error because the body has not yet been rendered.

The error is most likely present in other browsers too, you're just looking in the wrong place. For example, check out the Javascript Console in FireFox.

And welcome to Webmaster World!

mespejo

1:51 am on Jul 20, 2006 (gmt 0)

10+ Year Member



Thanks rocknbil.

That error is clear to me now and I managed to fix the problem. Thanks again for the response.