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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:58:27+00:00 2026-05-26T06:58:27+00:00

I am using a jQuery plugin which returns the object, for example using the

  • 0

I am using a jQuery plugin which returns the object, for example using the below code.

onSuccess: function(data, status){
    alert(data);
}

returns [object Object]

as it is returning the object i would like to know how do i check all the contents that holds inside that object using js alert();

also i would like to know if JS object and JSON are one and the same.

thank you

  • 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-26T06:58:28+00:00Added an answer on May 26, 2026 at 6:58 am

    Use proper debugging tools like Firebug for Firefox or the built in Chrome developer tools. Then you can inspect objects with console.log or console.dir.

    alert is not meant for debugging. It can only output strings, which is of limited use as you already noticed.


    also i would like to know if JS object and JSON are one and the same.

    No, they are not. JSON is a data exchange format, similar to what XML can be used for, whereas a JavaScript object is a data type in JavaScript.

    If you are wondering whether JavaScript object literals are JSON, then this answer has to be answered with no as well.

    These are object literals

    var foo = {foo: "bar"};
    var foo = {"foo": "bar"};
    

    whereas JSON can only exist inside strings in JavaScript:

    var foo = '{"foo": "bar"}';
    

    and which then has to be parsed into a equivalent JavaScript data type. This is done by parsers such as the built-in JSON or json2.js.

    Don’t let their similar syntax/structure fool you.

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

Sidebar

Related Questions

I'm using the jQuery template plugin to generate HTML from JSON data which the
I'm using jQuery autocomplete plugin from jQuery website calling the controller url which return
I know they're using a jQuery plugin, but I can't seem to find which
I'm using the jQuery autocomplete plugin to get a list of locations, which works
I've been using the jQuery address plugin to enable back-button support, which has been
I am wondering which way is more efficient using jQuery data to bind data
I'm using the Jörn Zaefferer's jQuery autocomplete plugin which works great, except for a
I'm using Jquery plugin ZClip or ZeroClipboard which copies content to the clipboard via
I am using a jQuery plugin called Stepy , which is based of the
am using jquery tablesorter plugin and in my country column i got special characters

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.