Studyon Minte9.com
jQuery

Study

Object



var obj = {  
  name: "Pete",
  age: 15
};
for(key in obj) {
 alert("key is "+[key]+", value is "+obj[key]);
}

OR

jQuery.each(obj, function(key, value) {
   console.log("key", key, "value", value);
 });


http://docs.jquery.com/Types#Iteration