<--- --------------------------------------------------------------------------------------- ---- Blog Entry: ColdFusion & AJAX: Converting ColdFusion Objects to Javascript Objects Author: Ben Nadel / Kinky Solutions Link: http://www.bennadel.com/index.cfm?dax=blog:95.view Date Posted: Jun 23, 2006 at 8:06 AM ---- --------------------------------------------------------------------------------------- ---> // Loop over the rows in the "query" which is now an array. for (var intRow = 0 ; intRow < arrResults.length ; intRow++){ // Loop over each column and alert. for (var strColumn in arrResults[ intRow ]){ alert( strColumn + " : " + arrResults[ intRow ][ strColumn ] ); } // Or, you can call columns directly. alert( arrResults[ intRow ].id ); alert( arrResults[ intRow ].name ); }