Say you have a javascript object like this:
var data = { foo: \'bar\', baz: \'quux\' };
You can access the properties by the property name:
var attr, object_information=''; for(attr in object){ //Get names and values of propertys with style (name : value) object_information += attr + ' : ' + object[attr] + '\n'; } alert(object_information); //Show all Object