<script> var obj = { one: 77, two: 9, three: 5, four: 9, five: 22 }; $.each(obj, function(key,val) { alert(obj[key]); }); </script>