Why don't you try just some normal javascript instead of 

colors[$(this).attr("id")] = selected_color; 


try using

colors.push(selected_color);


and instead of your jquery loop, try using

for(var i = 0; i &lt; colors.length; i++) {
    $('#storage_display').html('whatever your trying to do here use colors[i]');
}


I dont understand what you're trying to do in the loop but assuming it did work, the html will be something like 'var var var var var var hexcode hexcode hexcode hexcode hexcode'

Adding elements into associative array in javascript
We registered for a roasting pan and it has been sitting around taking up a lot of space. Do I really need this or is this a "one-tasker" as Alton Brown would say?

I understand that the roasting rack allows the juices to drip down. I've had lots of success roasting chickens just in a baking pan with 2" high sides.
