i using SyntaxHighlighter and i have an text area
<textarea id="content" onchange="perview();"></textarea>
and
function perview() {
var code = $("textarea#content").val();
$('#code-preview').html(code);
}
and
<pre id="code-preview" class="brush: php;"></pre>
and i started the highlightrt
SyntaxHighlighter.all();
but when typing there is no any change happing just there is an Highlighter has no text