Show text while typing
<p>I thought this one was a simple one but I wasn't able to find anything out there, except <a href="http://stackoverflow.com/questions/2684402/how-to-show-text-while-typing-in-textarea-in-jquery">one post here</a> on STO. </p>

<p>Problem is the code doesn't work. I created a <a href="http://jsfiddle.net/rzea/FjNzS/" rel="nofollow">fiddle</a> so you can see it for yourself.</p>

<p>Here is the code from the fiddle:</p>

<pre><code>$('#someTextBox').keyup(function() {
    $('#target').html(this.val());
});
</code></pre>

<p>However, my HTML is a bit different than the example:</p>

<pre><code>&lt;textarea name="comment-box" id="comment-box" class="required"&gt;&lt;/textarea&gt;
...
&lt;p id="comment-preview"&gt;&lt;/p&gt;
</code></pre>

<p>All I need help with is a way to display what's being typed on the <code>textarea</code> on the <code>"comment-preview"</code> container.</p>

<p>Any help guiding me on this one is greatly appreciated.</p>
