Best way to populate a page with dynamic content
<p>I have been thinking about this for some time now, for the purpose of an example lets say we have index.php which has a whole bunch of content and a search box, when a user inputs data into the search box results appear below such as images and data for each result.</p>

<p>What is the best way to populate these results?</p>

<p><strong>Example one</strong></p>

<blockquote>
  <p>AJAX Post to results.php which echos the complete results including
      HTML and aesthetic tags. Then back on the first page include 
      all the data that was returned using .html(data);</p>
</blockquote>

<p><strong>Example Two</strong></p>

<blockquote>
  <p>Have the skeleton of the results and hide them, (wrapper 
      divs and everything that is included for each result) 
      And then AJAX and retrieve data and populate the divs and show them</p>
</blockquote>

<p>Or any other suggestions you may have?</p>
