Problem with onchange and jQuery val() and text()
<p>i have an text area like this one which i write in it now
now i want when onchange the textarea content appear in a pre
i used</p>

<pre><code>&lt;textarea id="content" onchange="perview();"&gt;&lt;/textarea&gt;


function perview() {
var code = $("textarea#content").val();
$('#code-preview').html(code);
}   
</code></pre>

<p>i think every thing is ok</p>

<pre><code>&lt;pre id="code-preview"&gt;&lt;/pre&gt; 
</code></pre>

<p>but when using highlighter on the pre its not working
like that</p>

<pre><code>&lt;pre id="code-preview" class="brush: php;"&gt;&lt;/pre&gt;
</code></pre>

<p>the SyntaxHighlighter
version 2.1.364 (October 15 2009)   </p>
