<input type="text" onkeyup="document.getElementById('txt').innerHTML=this.value" /> <span id="txt"></span>