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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:27:42+00:00 2026-05-17T18:27:42+00:00

Hello I am completely confused between json and ajax. When would what be used.

  • 0

Hello I am completely confused between json and ajax. When would what be used. I work with PHP on the server side. I regularly use ajax to receive data asynchronously, without invoking a page load. I use php’s json functions to pass data to javascript. But I just started learning jQuery, and I am completely confused when to use function ajax and when to use json. Can somebody help me out with this, thanks.

  • 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-17T18:27:42+00:00Added an answer on May 17, 2026 at 6:27 pm

    I assume you are referring to the jQuery .getJSON() method.

    This method is simply a shorthand way of using the jQuery .ajax() method with JSON data. .getJSON() is equivalent to:

    $.ajax({
      url: url,
      dataType: 'json',
      data: data,
      success: callback
    });
    

    So, you can make use of .getJSON() if you will be retrieving JSON data from the server. The data will automatically be parsed with the jQuery.parseJSON() method.


    In more general terms AJAX is a way to asynchronously retrieve information from a server. JSON is a way to format data…. but I assume you knew this already, and you were asking specifically about the two jQuery methods I mentioned.

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

Sidebar

Related Questions

Hello I am having syntax issues here completely confused on how to properly do
Hello I am trying to use a NSPopUpButtonCell inside an NSTableView. Basically when you
Hello I'm in the process of developing a running log in WinForms. I would
hello i have a basic client-server system running using java sockets. my problem is,
Hello im very new at AS3 so im a litle confused trying to get
I am completely new to Python-- never used it before today. I am interested
Hello I'm completely new to using Jaspersoft iReport Designer. I want to have a
Hello everyone I am completely stuck with this problem. I want add the name
I'm completely lost as to why this isn't working. Should work precisely, right? UserName
Hello guys i have a problem while trying to use the 'radio' input in

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.