title: using javascript to display content
body: <p>Quick question, why this is not working?  </p>
  
  <pre><code>if ( xmlhttp.responseText )
  {
      location.href = "result.php"
      document.getElementById( 'page-result' ).innerHTML = xmlhttp.responseText;      
  }
  </code></pre>
  
  <p>What I want to do is put search result on div on another page.</p>