title: JQuery .inArray() not working
body: <p>Okay, so I am working on a weather application, and I wrote the following test code to verify that the user entered a valid state abbreviation:</p>
  
  <pre><code>var input = prompt("What state are you in?");
  var lower = input.toLowerCase();
  var categories = [ 
      "ma", 
      "ny", 
      "ct", 
      "ri", 
  ],
  var found = $.inArray(lower, categories);
  if (found &gt; -1) {
      alert("Cool!");
      }
  else {
      alert("Oh no!");
      }
  </code></pre>
  
  <p>But for some reason, it doesn't work.</p>
  
  <p>Take a look: <a href="http://jsfiddle.net/B24Bg/" rel="nofollow">http://jsfiddle.net/B24Bg/</a></p>
  
  <p>Does anyone know why this is?  I probably just made a silly mistake, but any help would be greatly appreciated.</p>