Auto Preview

Preview the result while typing. Works on any input (text,textarea):
$(document).ready(function() {

    $("textarea").keyup(function () {
        var value = $(this).val();

Notice: Due to security issues i did not allow html content. that would be so if you change the following line:
    /* into */

With more advanced jquery you can use BB-Code or even real html code (only some elements allowed) in the textarea. So the preview would be more realistic as this is a common way of submitting comments etc.