jquery function doesn't work after typing in textbox
<pre><code> $('.quote').live('click', function() {


    var quote = "test";
    $("#msg").append(quote).scrollTop($('#msg')[0].scrollHeight).focus();

 });
</code></pre>

<p>This function just copies "test" to the textbox. Since it will be a multi-quote function I used the append() function. It works fine. Even when I focus on the textbox.</p>

<p>BUT when I type any characters in the textbox or break the line it no longer works. Any ideas?</p>

<p>msg - textbox</p>

<p>focus(); isn't also working for some reason.</p>
