<script>
$(document).ready(function () {
$('#someTextBox').keyup(function(){
$('#target').html($(this).val());
});
});
</script>
<textarea id="someTextBox"></textarea>
<div id="target"></div>
As you type text in the <textarea>, the text should be duplicated in the HTML of the <div>.