title: jQuery $.inArray doesn't seem to work with associative arrays
body: <p>I have made this fiddle: <a href="http://jsfiddle.net/benhowdle89/CANX8/1/" rel="nofollow">http://jsfiddle.net/benhowdle89/CANX8/1/</a></p>
  
  <p>Which creates an assoc array and then runs a test for a value that is in the array. The wrong results are reached!</p>
  
  <p>Outline of code:</p>
  
  <pre><code>$(document).ready(function(){
      var newArray = [];
      newArray['first'] = 1;
      newArray['second'] = 1;
  
      $('button').click(function(){
          if($.inArray(1, newArray) != -1){
              $('#dump').css('border', '1px solid red');
          } else {
              $('#dump').css('border', '1px solid blue');
          }
      });
  });
  </code></pre>