JavaScript error (Uncaught SyntaxError: Unexpected end of input)
<p>I have some JavaScript code that works in FireFox but not in Chrome or IE. In the Chrome JS Console I get the follow error: "Uncaught SyntaxError: Unexpected end of input".</p>

<p>The JavaScript code I am using is:</p>

<pre><code>&lt;script&gt;
 $(function() {
 $("#mewlyDiagnosed").hover(function() {
    $("#mewlyDiagnosed").animate({'height': '237px', 'top': "-75px"});
 }, function() {
    $("#mewlyDiagnosed").animate({'height': '162px', 'top': "0px"});
 });
&lt;/script&gt;
</code></pre>

<p>It says the error is on the last line which is });</p>
