Simple jquery ajax response on error
<p>A couple of questions, first with this var string below, the 1 one works but I need to get the second one working, there is a snytax error because I am not sure how to write it</p>

<pre><code>var string = 'id='+ id ;
var string = 'id='+ id 'USER=1';
</code></pre>

<p>Second;
This ajax call below, it post to delete.php to delete a comment, it works but I would like to add in some error handling.  Once I add it into the backend, how can I make it show an error in jquery ?</p>

<pre><code>$.ajax({
   type: "POST",
   url: "delete.php",
   data: string,
   cache: false,
   success: function(){
    commentContainer.slideUp('slow', function() {$(this).remove();});
    $('#load').fadeOut();
  }
</code></pre>
