Es:
<script>
function LoadText(){
document.getElementById("miotesto").innerText = "il nuovo testo";
document.getElementById("miotesto").innerHTML = "il nuovo HTML";
}
</script>
<div id="miotesto"></div>
<button onClick="LoadText();">Load Text</button>
Ciao
http://www.webalternative.ne