title: jquery: adding custom key value to object
body: <p>whats wrong with this jquery code. it is not outputting anyting?</p>
  
  <pre><code>var imagesToLoad = [];
  
  var name = 'hi';
  var src = 'ho';
  
  imagesToLoad[name] = src;
  
  $.each(imagesToLoad, function(index, value) {
   alert(index + ': ' + value);
  });
  </code></pre>
  
  <p>basically i want to add custom variables to my object after it has been created.</p>