XML error in JavaScript file
<p>When I execute this JavaScript file in Firefox;</p>

<pre><code>    &lt;script type="text/javascript" &gt;
        $(function () {
            $(".comsubmit").click(function () {
                var comsn = $("#comsn").val();
                var comrn = $("#comrn").val();
                var compic = $("#compic").val();
                var comment = $("#comment").val();
                var eventid = $("#eventid").val();
                var dataString = 'comsn=' + comsn + '&amp;comrn=' + comrn + '&amp;compic=' + compic + '&amp;comment=' + comment + '&amp;eventid=' + eventid;
                if (comment == '') {
                    alert('Must Type Comment to Post Comment');
                } else {
                    $("#flash").show();
                    $("#flash").fadeIn(400).html('&lt;img src="assets/uploading.gif" /&gt;Loading Comment...');
                    $.ajax({
                        type: "POST",
                        url: "comments_post.php",
                        data: dataString,
                        cache: false,
                        success: function (html) {
                            $("ol#update").append(html);
                            $("ol#update li:last").fadeIn("slow");
                            $("#flash").hide();
                        }
                    });
                }
                return false;
            });
        });
    &lt;/script&gt;
</code></pre>

<p>I get this error</p>

<pre><code>Error: missing } in XML expression
Line: 31, Column: 2
Source Code:
}); });
</code></pre>

<p>The arrow points inbetween the first semi colon and the space.</p>

<p>What can I do to fix this error?</p>
