title: JSON undefined error using JQuery
body: <p>My Javascript alert's undefined when trying to read the following JSON string:</p>
  
  <pre><code>[
      {
          "number_messages":"3"
      },
      {
          "message1":"abc"
      },
      {
          "message2":"c"
      },
      {
          "message3":"a"
      }
  ]
  </code></pre>
  
  <p>I am using AJAX to get this string (it gets trough correctly.</p>
  
  <pre><code>resp=jQuery.parseJSON(response);
  alert( resp.number_messages );
  </code></pre>
  
  <p>My ajax call is:</p>
  
  <pre><code>$.ajax({  
  type: 'POST',  
  url: 'backend2.php',  
  data: dataString,
  success: submitFinished,
  dataType: 'json'
  });  
  </code></pre>
  
  <p>This alerts "undefined", no errors show up in dragonfly (it's like firebug but for opera).</p>
  
  <p>I am quite new to the whole JSON JQuery thing, so it's prob. something really easy, but I can't seem to figure it out. I've searched for answers and edited my code for over an hour, and still haven't got it to work.</p>