Top "Getjson" questions

Load JSON-encoded data from the server using a GET HTTP request.

How do I add items to an array in jQuery?

var list = []; $.getJSON("json.js", function(data) { $.each(data, function(i, item) { console.log(item.text); list.push(item.text); }); }); …

jquery json firebug getjson
Uncaught TypeError: Cannot use 'in' operator to search for 'length' in

Uncaught TypeError: Cannot use 'in' operator to search for 'length' in " This is the error I receive when I try …

javascript jquery json getjson
Error handling in getJSON calls

How can you handle errors in a getJSON call? Im trying to reference a cross-domain script service using jsonp, how …

jquery cross-domain jsonp getjson
JQuery Parsing JSON array

I have a JSON output like the following: ["City1","City2","City3"] I want to get each of the city names, …

jquery arrays json jquery-mobile getjson
How to use getJSON, sending data with post method?

I am using above method & it works well with one parameter in URL. e.g. Students/getstud/1 where controller/…

jquery asp.net-mvc post http-post getjson
JSON string to JS object

I am using a JS object to create graphs with Google visualization. I am trying to design the data source. …

javascript jquery json jsonp getjson
load json into variable

I have to do something very simple, but there doesn't seem to be an easy way to do this, as …

jquery json getjson
How can I pass request headers with jQuery's getJSON() method?

I need to do a getJSON() request, but how do I pass authorisation and custom headers? I am getting issues …

jquery getjson
Is it possible to set async:false to $.getJSON call

Is it possible to set async: false when calling $.getJSON() so that the call blocks rather than being asynchronous?

jquery asynchronous getjson
JQuery get data from JSON array

This is part of the JSON i get from foursquare. JSON tips: { count: 2, groups: [ { type: "others", name: "Tips from others", …

javascript jquery json getjson