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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:38:35+00:00 2026-05-27T10:38:35+00:00

Im trying to get a JSON feed be loaded on a website I’m working

  • 0

Im trying to get a JSON feed be loaded on a website I’m working on. I’ve looked around online, and there seems to be plenty of examples, but little information on how to return a remote webpage’s JSON as a object.

Currently I have the below test code I’m working on.

The JSON feed I’m trying to get into my webpage is;
http://www.wowprogress.com/guild/us/frostmourne/Group+Therapy/rating.tier13_10/json_rank

Current goal is just to view the returned JSON feed so I know its working, so I have been playing with the below snippet.

<html>
<title></title>
<head>
<script type="text/javascript">
    var xhttp = new XMLHttpRequest();       
var wowprogress
//var xhttp = new ActiveXObject("Microsoft.XMLHTTP"); // Commented out currently, use for IE
xhttp.open("GET","http://www.wowprogress.com/guild/us/frostmourne/Group+Therapy/rating.tier13_10/json_rank",false);
xhttp.send();

var myJSONString = xhttp.innerTEXT;
alert(myJSONString);    

var myObject = eval("(" + myJSONString + ")");
var myValue = myObject.realm_rank;
    alert(myValue);

    </script>
    </head>
    <body>
    </body>
    </html>

any help would be greatly appreciated, or the right direction to investigate further.

Thanks 🙂

  • 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-27T10:38:36+00:00Added an answer on May 27, 2026 at 10:38 am

    i think you’re running into cross-domain issues. browsers by default don’t allow you to use XHR (ajax) to fetch documents that are located on a different domain than the host page (this also includes sub-domains).

    there are some workarounds:

    • CORS : This is likely not an option, as it requires configuration on a server that you don’t own

    • JSON-P : This may be an option, if the remote server understands it. It is essentially a JSON response wrapped in a function call, so that you can include it on your page as plain JS.

    • Proxy : create a proxy on the server so that you can make ajax requests to the same domain. Ben Alman has a simple example here.

    in short, you are going to need another transport mechanism to be able to load remote documents on to your page via JS.

    i hope that helps! cheers.

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

Sidebar

Related Questions

I am trying to get a json feed working for the jquery Full Calendar
I am trying out jQuery 1.6.4 with mobile to get a simple json feed
I'm trying to get the main elements to my JSON feed but it won't
Trying to get a JSON output to work with jqGrid 'userdata' option. The example
While trying to GET a JSON, my callback function is NOT firing. $.ajax({ type:GET,
I am trying to get some errors returned in JSON format. So, I made
Trying to get this example working from http://www.munna.shatkotha.com/blog/post/2008/10/26/Light-box-effect-with-WPF.aspx However, I can't seem to get
I'm working on a rake task which imports from a JSON feed into an
I am trying to get facebook wall but I am having issues with JSON
I'm trying to use a specific object type from a JSON feed, and am

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.