iterating this response
<pre><code>{
  'lastChangedName': null'Caption': 'Adhesive Tape',
  'CreateByID': 0,
  'DateOnSet': '02/10/2011',
  'Note': 'Currently participating in Allergy shots to resolve this',
  'Reaction': 'skin rash',
  'SectionDescription': 'Allergy List',
  'HistoryItemID': 1831,
  'CurrentInDrFirst': 0,
  'CreateDate': '/Date(1297674300000-0500)/',
  'Code': '3746',
  'PL': '1',
  'Problem': {
    "LastChargedByUserID": 0,
    "LastChargedDate": null,
    "ProblemStatus": 1003,
    "DateResolved": "12\/2\/11",
    "PatientID": 0,
    "ProblemID": 1330
  },
  'CategoryDescription': null,
  'CategoryID': 0,
  'CodeSystem': 'FDBDRUG',
  'SectionID': 3,
  'LastChangedID': 0,

},
{
  'lastChangedName': null'Caption': 'Cats',
  'CreateByID': 0,
  'DateOnSet': '6/4/1997',
  'Note': '0',
  'Reaction': 'Sneezing',
  'SectionDescription': 'Allergy List',
  'HistoryItemID': 1925,
  'CurrentInDrFirst': 0,
  'CreateDate': '/Date(1299176220000-0500)/',
  'Code': '',
  'PL': '1',
  'Problem': {
    "LastChargedByUserID": 0,
    "LastChargedDate": null,
    "ProblemStatus": 1002,
    "DateResolved": null,
    "PatientID": 0,
    "ProblemID": 1331
  },
  'CategoryDescription': null,
  'CategoryID': 0,
  'CodeSystem': '',
  'SectionID': 3,
  'LastChangedID': 0,

}
</code></pre>

<p>This is the response i get, i want to iterate and print out the caption values... in a text box... </p>

<pre><code>for each(var item in response) {
          alert(item.caption)
}
</code></pre>

<p>This only prints me the first caption alone.</p>
