all kinds of instruction for write message
<p>how many there are the kind of instructions in aspx for write a message in screen? By java, html, c# or asp.<br>
Why <code>document.write</code> write message in new page?</p>

<pre><code>document.getElementById("myText").innerHTML = txt;
document.getElementById("myText").value = txt;

document.write(txt);
window.alert(txt);
</code></pre>
