MCQ Single Best Answer Easy

QWhat is the purpose of the AJAX method $.getJSON() in jQuery?

ID: #19104 What is AJAX 81 views
Question Info
#19104Q ID
EasyDifficulty
What is AJAXTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A To initiate a POST request
  • B To retrieve JSON data from the server using GET
  • C To serialize form data
  • D To send a synchronous request
Correct Answer: Option B

Explanation

The $.getJSON() method in jQuery is used to retrieve JSON data from the server using a GET request. It simplifies the process of making asynchronous requests and handling JSON responses.

Share This Question

Challenge a friend or share with your study group.