Using jQuery.getJSON method you can get or load JSON encoded data by an AJAX HTTP GET request. The method returns XMLHttpRequest object.
JSON stands for JavaScript Object Notation. So, this is a way of formatting the data to look at loading JSON data using an HTTP GET request (you can also use POST method).
$.getJSON( url, [data], [callback] )
$.getJSON(“ajax.js”, function(result){
$.each(result, function(i, field){
$(“p”).append(field + ” “);
});
});
Read Also:
Read jQuery reference for more.
JSON's popularity has risen steadily since its inception nearly 15 years ago. JSON is used…
Every business needs financial foresight to make one of its pillars stronger and to make…
One of the trends in social media marketing is the promotion of services that foster…
The second article illustrates how micro-influencers can be applied more effectively in the promotion process.…
In the end, in the social media battle for eyeballs, the sheer number of followers…
This is not about just the word-of-mouth buzz on influencer marketing. It ranks in the…