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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T04:16:19+00:00 2026-06-15T04:16:19+00:00

I need to access a json object in javascript with the following strucure: jsonp1354291250080({

  • 0

I need to access a json object in javascript with the following strucure:

jsonp1354291250080({
    "query":{"count":"1","created":"2012","lang":"en"},
    "results":["this is a test"]
});

I’m receiving this object from an online service, I cannot control its structure and using data.query is not working.

Please if someone knows how to access it.

UPDATE: I’m using jquery.xdomainajax.js of James Padolsey https://github.com/padolsey/jQuery-Plugins/tree/master/cross-domain-ajax/
and using $.get() function of jQuery to do cross-domain requests

  • 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-15T04:16:20+00:00Added an answer on June 15, 2026 at 4:16 am

    You’re using a JSONP service since you are on a different domain. Your best bet is to let jQuery’s $.getJSON handle it for you.

    If the URL includes the string “callback=?” (or similar, as defined by
    the server-side API), the request is treated as JSONP instead. See the
    discussion of the jsonp data type in $.ajax() for more details.

    The JSONP example on that page:

    <!DOCTYPE html>
    <html>
    <head>
      <style>img{ height: 100px; float: left; }</style>
      <script src="http://code.jquery.com/jquery-latest.js"></script>
    </head>
    <body>
      <div id="images">
    
      </div>
    <script>
      $.getJSON("http://api.flickr.com/services/feeds/photos_public.gne?jsoncallback=?",
        {
          tags: "mount rainier",
          tagmode: "any",
          format: "json"
        },
        function(data) {
            $.each(data.items, function(i,item){
            $("<img/>").attr("src", item.media.m).appendTo("#images");
            if ( i == 3 ) return false;
        });
      });
    </script>
    
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to access camera from a remote html page. I load this html
I need to access a RESTful server, which is not created with WCF. For
Could not convert or access JSON object from PHP json_encode <?php $f_array = array();
This will probably be easy, but I need to access the values in this
I need to convert a string to a JSON object that gets returned from
I have created a javascript object and a function to build a new instance
I have a problem. I need access to the object within the array on
I'm trying to get JSON string returned from MS-Access DB Query. I get the
I need to convert an XML document into JSON, in order to easily access
I need to pass a JavaScript Array variable to a code-behind file and access

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.