I have a website where there is a empty box and a input text box. I want to be able to type something in that input box and have it be printed on the empty box.
In your HTML,
In JS,
function annotate(){ var typed= document.getElementById("fname").value; document.getElementById("printchatbox").innerHTML= typed; }
Click here for LIVE DEMO