Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Web technologies Questions | jQuery Quiz | Set-1 | Question 6

  • Last Updated : 21 Sep, 2021

Which of the below method is used to get the JSON data using HTTP requests?
(A) jQuery.getScript( url, [callback] )
(B) url, [data], [callback], [type] )
(C) url, [type] )
(D) jQuery.getJSON( url, [data], [callback] )

Answer: (D)

Explanation: The jQuery.getJSON takes 4 parameters URL, data, callback, and type which is used to load the JSON data.

Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!