You can use $.each()
like this:
$.each(data, function(i, obj) {
//use obj.id and obj.name here, for example:
alert(obj.name);
});
More Related Contents:
- jQuery posting JSON
- jquery loop on Json data using $.each
- How do I format a Microsoft JSON date?
- XMLHttpRequest cannot load an URL with jQuery
- CORS header ‘Access-Control-Allow-Origin’ missing
- JSONP request error handling
- How to access JSON Object name/value?
- jQuery getJSON works locally, but not cross domain
- jqGrid does not populate with data
- Convert a HTML table data into a JSON object in jQuery
- Can I return JSON from an .asmx Web Service if the ContentType is not JSON?
- Convert Object to JSON string
- How do I PUT data to Rails using JQuery
- Post Nested Object to Spring MVC controller using JSON
- How to populate a dropdownlist with json data in jQuery?
- Return Partial View and JSON from ASP.NET MVC Action
- Passing dynamic json object to C# MVC controller
- Rails not decoding JSON from jQuery correctly (array becoming a hash with integer keys)
- jquery fill dropdown with json data
- Accessing web Service from jQuery – cross domain
- How can I check if a value is a JSON object?
- jQuery – How to PUT JSON via Ajax?
- How do I make a JSONP call with JQuery with Basic Authentication?
- jquery reading nested json
- What should a JSON service return on failure / error
- JSON parsing error syntax error unexpected end of input
- Why does $.getJSON silently fail?
- How to download a file through ajax request in asp.net MVC 4
- My Own Like Button: Django + Ajax — How?
- jQuery JSON response always triggers a ParseError