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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:25:38+00:00 2026-05-23T07:25:38+00:00

I am getting json data as a response back from the server. I want

  • 0

I am getting json data as a response back from the server. I want to parse this JSON data and embed all the data into a pop up window.

var on_show_info = function() {
                alert("aa");
                request_meta_info = $.ajax({
                url: data + info.id,
                type: 'GET',
                async: false,
                dataType: "jsonp",
                success: data,
                error: error    
        });
    };

var data = function(data, text_status, XMLHttpRequest) {

    alert(data);
    var html = '';
    var info = {};


    here I want that JSON parsing code as I am getting response back from the server in data field. Any help will be appreciated and I want to embed those parse data in to a popup window as shown below by this command `($('#popup-meta .popup-content').html(html);)`


    });

    $('#popup-meta').removeClass('waiting');
    $('#popup-meta .popup-content').html(html);
};

This is the response I am getting back from the server as JSON data just for an example..

jsonp13082({"responseHeader":{"status":0,"Time":3,"params":{"json.wrf":"jsonp13082","wt":"json","q":"8377"}},"response":{"numFound":1,"start":0,"docs":[{"key":"83779616","number":"080","name":"Designated","name":"Non ","number":"27837","date":"2010-08-24T07:00:00Z","name":"Canada","name":"Application","title":"collision detection","date":"2008-03-03T08:00:00Z","id":"414","code":"CA","date":"2009-03-03T08:00:00Z","name":"Michael Henry","mgr_name":"William Henry","id":"79616","name":"oen","claims":"74","date":"2012-03-03T08:00:00Z","claims":"8","url":"","inventors":["D.","rshi","Pa"],"guid":["23","26","25"],"towners":["XYZ"],"inventors":["D","name2","name3"],"owners":["XYZ"]}]}})
  • 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-23T07:25:39+00:00Added an answer on May 23, 2026 at 7:25 am
     var dataObj = jQuery.parseJSON( jsonStr );
    

    See the link for more on jQuery (which u included) and converting jsons to data format.

    http://api.jquery.com/jQuery.parseJSON/

    How u use the data for the display is up to you and what data you are given.

    You can use the jQuery native dialog box to display such a pop up

    dialog in jQuery

    In which you can do a for loop to convert each parameter into a display via HTML formatting (possibly using HTML tables).

    function tablefy( object ) {
    var retStr = "";
    var typeSet = typeof(object);
    if( typeSet == 'object' ) {
        retStr += "<table>"
        for( x in object ) {
            retStr += "<tr>";
            retStr += "<td>";
            if( typeof( x ) == "string" ) {
                retStr += x;
            } else {
                retStr += x.toString();
            }
            retStr += "</td><td>";
            retStr += tablefy( object[x] );
            retStr += "</td>"
            retStr += "</tr>"
        }
        retStr += "</table>"
    } else {
        //just dumps it raw
        if( typeSet == 'String' ) {
            return object;
        } 
    
        if( typeSet == 'number' ) {
            return object.toString();
        }
    
        if( typeSet == 'boolean') {
            if( object == true ) {
                return 'true';
            } else {
                return 'false';
            }
        }
    
        return 'null';
    
        }
    }
    return retStr;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am getting JSON response from the server..Inside that JSON string i am having
I'm getting this json string info from the server : {members:[[sd2840d,Johny],[jkld341,Marry]]} So I store
im getting response in json, but this wont parse the json response. what m
I am getting this data from JSON web services List ARRAY: ( { assets
I am using jQuery to get back some JSON data from the server. I
I'm getting the following (str) back from Disqus, JSON expected: ?({code: 0, response: {username:
I am attempting to parse some json I am getting back from a service.
Getting Json from the Server and displaying it in the grid is relatively straight
I'm having trouble getting a response back from a Jquery ajax call... (It's a
I have some problems getting the custom formated JSON data into a dijit.form.FilteringSelect. It

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.