How do you return a multi-demensional array using Prototype Hash Programming Web Development by Chad Gary … return values of array: [CODE]var request = new Ajax.Request('jsonEncode.php', { onSuccess: function(request) { var emptyAssociativeArray = request.responseJSON; emptyAssociativeArray= (Object… Re: How do you return a multi-demensional array using Prototype Hash Programming Web Development by Airshow Your data is now two levels deep so you ned nested loop in your onsuccess handler to access it. It will be something like: [CODE=javascript] $H(emptyAssociativeArray).each(function(player) { $H(player).each(function(pair) { $('workaroundOutput').insert('<div>' + pair.value + '</div>'); }) }); [/CODE] You may …