[jQuery] how to append HTML / Javascripts source code without running the script ?

[jQuery] how to append HTML / Javascripts source code without running the script ?


How can I append a newly typeded in scripts and append into the DIV
without running the script ?
i got a div . <div id="newcontent" > </div>
and I got a textarea <textarea id="typesmth"></textarea>
$(document).ready(function(){
$("typesmth").blur(function(){
$("#newcontent").append($(this).text() );
});
});
and i got some filter to escape the html tags and JS as well but then
it's append nicely into the div but the script still runs.
but if i input <script> alert("test"); </script>
and i got exactly what i type into the div but then the alert msg came
out... how can i stop the JS running when i do append ?