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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:48:26+00:00 2026-06-05T11:48:26+00:00

Refer to the link : http://jsfiddle.net/LS8zs/ I tried to get JSON data using jQuery

  • 0

Refer to the link : http://jsfiddle.net/LS8zs/

I tried to get JSON data using jQuery .ajax() from api of Kongregate.com

“Get User Badges” works. (plz click to try)

But “Get All Badges” doesn’t.
Code is basically the same. But error occurs:

parsererror : Error: jQuery17209025343011599034_1339162861022 was not called

I also tried to add ?callback=foo to the end of the URL, but no luck.

Would some body help me please?

I’m newbie in programming. I think I miss something about same origin policy, right?

Or the api just doesn’t support ajax call via javascript/jQuery?

Note that I’m using Ruby On Rails 3.2 to develop the web app. Should I use ROR to get JSON data instead? (In the best practice)

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-05T11:48:27+00:00Added an answer on June 5, 2026 at 11:48 am

    Just typing:

    http://www.kongregate.com/badges.json?callback=foo

    into a browser doesn’t return JSONP. But it does for:

    http://www.kongregate.com/accounts/andrew/badges.json?callback=foo

    So I’m guessing JSONP callbacks aren’t supported for the first URL at all.

    The Same Origin Policy shouldn’t matter if jQuery is handling the JSONP request correctly.

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

Sidebar

Related Questions

http://www.asp.net/data-access/tutorials/adding-a-gridview-column-of-radio-buttons-cs Please refer the above link. How to select the RadioButton programatically?
Please refer to this API. The link is: http://download.carrot2.org/stable/javadoc/org/carrot2/text/preprocessing/pipeline/CompletePreprocessingPipeline.html Class CompletePreprocessingPipeline Field Summary DocumentAssigner
In the process of learning Ajax requests using jQuery, I tried to load google
I refer to this link: http://blog.sudobits.com/2011/10/02/how-to-install-eclipse-ide-on-ubuntu-11-10/ I installed eclipse using this command: sudo apt-get
Refer to this link http://support.google.com/webmasters/bin/answer.py?hl=en&answer=76329 I don't understand the following Paragraph. Can you illustarte
Please refer to the topic http://www.codeproject.com/KB/viewstate/SaveViewState.aspx . The topic demonstrates how you can save
Please refer to Get PDF hyperlinks on iOS with Quartz It explained an algorithm
I'm trying to retrieve a page with greasemonkey and then extract a link from
I am trying to re order the inner html table rows using Jquery.inner html
Please refer to my page http://vault-x.com/v3/contact.html Contact me via email: hello[at]vault-x.com Follow Vault-X on

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.