title: Return data using ColdFusion and jQuery Ajax
body: <p>I'm making a request to a cfc file that queries a database. Do I store these results in a struct, array or some other way? And depending on how I store and return the results, how do I handle the pieces from jQuery?<br />
  I tried storing the results in an array and only displaying one of the results like so, which did not work:</p>
  
  <pre><code>$.ajax({
      type: "POST",
      url: "/ajax/ajax_test.cfc?method=ajaxTest",
      data:"field1=17",
      success: function(response) {
      var r=response;
      $(".cat_vid_subContainer").empty();
      $(".cat_vid_subContainer").html(r.DATA[2]);
      }
      });
  </code></pre>