title: Best practices for returning and displaying data from AJAX calls
body: <p>I have some jquery/php interaction set up on a page. It submits some data to the server and gets back records of data which are then to be aligned on the page for comparison and possible action beyond that.</p>
  
  <p>My question is what is the best practice for returning the info and then displaying it?</p>
  
  <ul>
  <li>Return JSON object and then create
  html on the fly with js and display
  the data? </li>
  <li>Return JSON object and then
  put that data in already created
  containers for the data on the page?</li>
  <li>Return pure html from the server and
  just put that on the page?</li>
  </ul>
  
  <p>I was rolling these through my head last night and couldn't really figure out if one way would be better for any particular reason.</p>
  
  <p>I'm not a js guru so wasn't really sure the pros/cons and caveats to these different methods.</p>