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.
How can/should I access particular portions in the response rather than the entire response. For example, I could...
document.getElementById('result').innerHTML = "Received:<br>\n" + xmlhttp.responseText;
...to grab all of it. Can I simply pull individual pieces out with document.getElementByid()??
Thanks.