Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8158361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:34:33+00:00 2026-06-06T17:34:33+00:00

In an earlier question (http://bit.ly/KNMN89), I encountered an issue caused by IE7’s broken implementation

  • 0

In an earlier question (http://bit.ly/KNMN89), I encountered an issue caused by IE7’s broken implementation of setAttribute(). At the same time, while testing out the problem, I discovered this:

In IE7, document.documentElement, document.getElementsByTagName('html')[0], and document.body.parentNode do not return [object HTMLHtmlElement] as other browsers do but return [object] instead.

Being a Javascript newbie, I am not sure what this means: does this mean that IE7 does not read the <html> element correctly as the root of the DOM? Or is it simply a case of returning the wrong value? Also, what would be the implication, if any, of such a difference to designers/developers?

I am guessing that this probably isn’t a huge issue, but I’d like to at least know what’s going on before moving on, rather than simply ignoring this anomaly. I’d really appreciate if Javascript veterans here can give me some related advice. Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:34:34+00:00Added an answer on June 6, 2026 at 5:34 pm

    This is simply because objects convert to the string [object] in IE7, without specifying what type of object. Furthermore, IE7 does not have the HTML*Element object types. However, document.documentElement and document.getElementsByTagName('html')[0] both return the <html> element that is the root of the document.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I had a question earlier involving php and mysql on this same project, This
Earlier today I encountered a limitation of F# quotations, and asked a question about
Ref URL; http://en.wikipedia.org/wiki/Future_value Earlier similar question; calculate Future value in iPhone Like we hvae
So I asked a question with the same title earlier and got an answer
An earlier question was answered about getting the OrderID and the number of associated
This question is very similar to an earlier question I asked ( This Question
Following on from my earlier question about creating Address Books (many thanks Peter!), I
Related to an earlier question I asked, I've seen that there's both LoadComponent() and
Following up from an earlier question on extracting the n'th regex match , I
Following on from my earlier question , I am still having issues with loading

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.