Showing val as html inside of a div in real time
<p>I'm using the following in order to have on screen display of each value of a checkbox that's selected with great results when it's displayed inside a textbox. I'd like to change it so that I can show a real time display in a div as html instead of a textbox.</p>

<p>A <a href="http://jsbin.com/ujuse" rel="nofollow">link to a working demo is here</a> and below is the script.  I know it's probably a basic line or two but i'm still learning and new. thanks!</p>

<pre><code>function updateTextArea() {         
    var allVals = [];
    $('#c_b :checked').each(function() {
        allVals.push($(this).val());
    });
    $('#t').val(allVals)
}
$(function() {
    $('#c_b input').click(updateTextArea);
    updateTextArea();
});
</code></pre>
