Explain me "document.getElementById("div_name").innerHTML=xmlHttp.responseText;"
<p>I would really appreciate If anyone can explain methe following:</p>

<pre><code>document.getElementById("txtHint2").innerHTML=xmlHttp.responseText;
</code></pre>

<p>I understand that result (right side after equal sign) will be written within div tag in this case...But what is this RESPONSETEXT actually?</p>

<p>I have html calling some *.js. In this I have url to php. In php is command connect to database and give results after my query.</p>

<p>So result of this query sholud be related to =responseText ...</p>

<p>I am confused and not so familiar about this ...Please help me!!!</p>
