title: JavaScript Unexpected end of input
body: <p>The following code gives me "Unexpected end of input" clues?</p>
  
  <pre><code>$('#form1').submit(function(e) {
     e.preventDefault();
     $.ajax({  
       type: "POST",  
       url: "form.php",  
       data: $(this).serialize(),  
       success: function() {  
         $('#terminal').load('terminal.php');
       }  
     }); 
  </code></pre>