I am having an array that consists the objects with a key, value how can we iterate each object for caste and id.
caste
id
[ Object {
To iterate over an array filled with stuff in jQuery use $.each, to iterate over an Object for its properties use for..in