var someObj = { foo: "bar"}; $.each(someObj, function(propName, propVal) { console.log(propName, propVal); });