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

  • Home
  • SEARCH
  • 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 6233011
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T10:13:19+00:00 2026-05-24T10:13:19+00:00

In jquery 1.4.2 i was able to select xml residing in my html page

  • 0

In jquery 1.4.2 i was able to select xml residing in my html page by doing the following:

var xmlSettings = $("#xmlSettings")[0];

this is the same as:

document.getElementById("xmlSettings"); //this still works fine

In jquery 1.6.1 xmlSettings is undefined. all i did was upgrade my jquery from 1.4.2 to 1.6.1 and now this is not working.

is there a different selection that i need to do, or do i need to add a plugin?

xml in Html page:

<xml id="xmlSettings">
 <items>
        <item name="Test1">Test data 1</item>
        <item name="Test2">Test data 2</item>
        <item name="Test3">Test data 3</item>
 </items>
</xml>

thanks in advance,

[Resolved] Thanks to Felix Kling

the problem seems to be one of the following:

1) IE9 is not rendering IE8 Standards mode properly.
I just recently upgraded to IE9 but my app still needs to run in IE8 Standard Mode therefore I’ve forced it in IIS to render in IE8 using X-UA-Compatible IE=8

2) i also updated my jquery file from 1.4.2 to 1.6.1

but it could be a combination of these things i’m not really sure anyway using normal document.getElementById("xmlSettings"); still works fine so in the mean time i’ll use that but very bizarre issue. i wouldn’t be surprised if it’s an IE9 issue. Or maybe i’ll remain on jquery 1.4.2 for now.

  • 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-05-24T10:13:20+00:00Added an answer on May 24, 2026 at 10:13 am

    This is the real reason it’s not working: a regression in jQuery 1.4.2.

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

Sidebar

Related Questions

i need to be able to select Xpaths in jquery. selecting via CSS is
I have the jQuery datepicker working, but I need to be able to select
In jQuery I want to be able to select an element that does not
My page contains some drag-able div elements ( not jQuery UI dragable ). Now
I have the following code which only allows users to select Mondays from jquery
I am trying a create a facility (using jquery) to be able to select
I have the following jQuery code. I am able to get the following data
I wonder if we can able to select a particular tab in a JQuery
What's wrong with the example jquery code? I'm attempting to be able to select
I'm using Jquery Autocomplete based on: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ . I am able to select a

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.