title: Extract Data From XMLHttpRequest .responseText
body: <p>I have a fully functioning .php which utilizes XMLHttpRequest to Post data back to itself.  What I'm looking to do is making the response a little more friendly for the user rather than me simply displaying a JS alert() when the function completes.</p>
  
  <p>How can/should I access particular portions in the response rather than the entire response.  For example, I could...</p>
  
  <pre><code>document.getElementById('result').innerHTML = "Received:&lt;br&gt;\n" + xmlhttp.responseText;
  </code></pre>
  
  <p>...to grab all of it.  Can I simply pull individual pieces out with document.getElementByid()??</p>
  
  <p>Thanks.</p>