How to dynamically change content of a div using JavaScript?
document.getElementById("divId").innerHTML = "new content!"
I would recommend using a framework like jQuery though, because chances are you will be doing more things like this later.