jquery loop through json

51

jquery loop through json -

var someObj = { foo: "bar"};

$.each(someObj, function(propName, propVal) {
  console.log(propName, propVal);
});

Comments

Submit
0 Comments