var obj = {
foo: "bar",
baz: "quux"
};
jQuery.each(obj, function(name, value) {
alert(name + ": " + value);
});
http://stackoverflow.com/questions/1096924/iterating-a-javascript-objects-properties-using-jquery
Development notes about Grendel, a Pathfinder character manager for iPhone, Android, and other 320x devices. Based on 3.5e rules.
var obj = {
foo: "bar",
baz: "quux"
};
jQuery.each(obj, function(name, value) {
alert(name + ": " + value);
});
No comments:
Post a Comment