Código:
<script type="text/javascript"> var entrada = document.getElementById("input"); var salida = document.getElementById("span"); entrada.onkeyup = function () { salida.innerHTML = entrada.value; } </script> <input type='text' id="input"><span id="span"> </span>