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 3217280
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:23:34+00:00 2026-05-17T15:23:34+00:00

Using AJAX to pull data from a dynamically generated XML using .NET. Using simple

  • 0

Using AJAX to pull data from a dynamically generated XML using .NET. Using simple jQuery Ajax:

$.ajax({
type: "GET",
url: "/test/dynamic.aspx",
success: function(xml) {

    var itemTitleSrc = $(xml).find('ItemName').text();
    alert(itemTitleSrc);

}

});

In Firefox, Chrome, Safari, the alert brings back all of the strings associated with the node i am telling it to find. In IE, the alert box comes in blank. If I switch out the dynamic url and change it to a static XML and search for a node, both browsers come back with the same info.

My question is, could there be some kind of permissions set to the dynamic XML that IE is following and refusing to bring back the desired information.

On another quick note, if I create an alert for the data itself, like so:

alert(xml);

Both browsers, return the same data. It only seems that IE refuses to bring info either from a dynamically created XML and/or only when I search for a particular node.

Anyone with ideas?

  • 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-17T15:23:34+00:00Added an answer on May 17, 2026 at 3:23 pm

    First of all try to repeat the test with additional parameter cache: false of jQuery.ajax.

    It would be also interesting to change success function to function(xml, textStatus, xhr) and display xhr.responseText with alert(xhr.responseText). The parameter dataType:"xml" can be also helpful depending whether you set content-type in the server response.

    UPDATED: If you do receive the xml data in the IE and can only not load XML data, then you should follow the recommendation from the jQuery Documentation. You should test whether the current browser is IE. For IE you should load the data as text: dataType: "text" and then inside of success handler convert the xml text to ActiveXObject("Microsoft.XMLDOM") object.

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

Sidebar

Related Questions

Heh, I'm using jQuery AJAX Call to pull data from a self hosted webservice
I am trying to get Ajaz to pull data from mysql using a php
I'm building a simple aggregator-type app that would pull in data from multiple websites
I am using ajax to pull some data from a PHP script I created.
It seems that in IE9, using jquery .load will pull data from the browsers
Is this possible? I am using javascript, AJAX and JSON to pull data from
I am using ajax jquery to send data to php, as data I am
I'm using AJAX to get data for several business-card like divs on my page
I'm using the jQuery .load() function to pull in data to populate a div
Is it possible to pull source data from another domain (not currently owned) using

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.