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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T19:41:25+00:00 2026-05-26T19:41:25+00:00

I am trying to do a JSONP request for data from http://soarforward.com/ClassDocuments , but

  • 0

I am trying to do a JSONP request for data from http://soarforward.com/ClassDocuments, but it’s not working.

If you go to the URL you can see the JSON. I am converting an ASP.net object to JSON myself, so if the javascript is invalid I can modify it.

Here is my example code :
http://jsfiddle.net/guanome/JDLqf/

function getFiles() {
    var url = "http://soarforward.com/ClassDocuments";
    $.getJSON(url + "?callback=?", null, function(result) {
        console.log(result);
    });
}
$(document).ready(function() {
    getFiles();
});
  • 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-26T19:41:26+00:00Added an answer on May 26, 2026 at 7:41 pm

    I forgot to wrap my return JSON in a function call.

    I was returning

    {"foo" : "bar"}
    

    instead of

    fooBar({"foo" : "bar"});
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to populate a UITableView with data from json result. I can
I'm trying to make an HTTP Get request using JQuery, but I get an
I'm trying to create a variable from the result of a jsonp request, and
I'm trying to access a site via their JSON export. The URL is: http://neotest.dabbledb.com/publish/neotest/f820728c-4451-41f6-b346-8cba54e52c6f/projects.jsonp
I'm trying to launch a request for some data from an external website w/
I'm trying to make an ajax-request to vimeo to get data from an vimeo
I am trying to parse json from a request, but I keep getting null.
I'm trying to pull a gzipped json file from http://api.discogs.com/release/339901 . I have https://github.com/waveto/node-compress
I'm trying to use simplejson to parse a request from the ustream data api,
The url im trying to match is: http://domain/games/getdata/genres/ This request is made via ajax

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.