title: Cannot display returned JSON from a JQUERY AJAX call in CodeIgniter
body: <p>Im using JQUERY + CodeIgniter. I can't seem to get the returned <code>data</code> to display after an ajax call.</p>
  
  <p>Here is my JQUERY:</p>
  
  <pre><code>  $.post("&lt;?= site_url('plan/get_conflict') ?&gt;", {
      user_id : user_id,
      datetime_from : plan_datetime_start,
      datetime_to : plan_datetime_end,
      json : true
     }, function(data) {
      alert(data);
       }, "json");
  </code></pre>
  
  <p>Here is my CodeIgniter:</p>
  
  <pre><code>function get_conflict() {
      ...
   log_message("debug","get_conflict(): $result");
   return $result;
  }
  </code></pre>
  
  <p>My logs show:</p>
  
  <pre><code>get_conflict(): {"work_product_name":"Functional Design Document","datetime_start_plan":"2010-04-22 08:00:00","datetime_end_plan":"2010-04-22 09:00:00","overlap_seconds":3600}
  </code></pre>
  
  <p>Meaning the JSON is being returned correctly. However, the <code>alert(data)</code> nor <code>alert(data.work_product_name)</code> are not displayed.</p>
  
  <p>Any ideas?</p>