jQuery error: Status: 'error'. Error code: 500 while performing an edit in jqgrid
<pre><code>navGrid('#pager',{view:false,del:true},
    {
                afterComplete: function(response){
                alert(response.responseText);
                    }
                    },
                    {
                        afterComplete: function(response){
                        alert(response.responseText);
                    }
                    },
                    {
                        afterComplete: function(response){
                        alert(response.responseText);
                            }
                            }
  );
// alert(xhr.statusText);
</code></pre>
