jquery ajax not catching error when posting to an aspx page
<pre><code>$.ajax({
type: "POST",
url: "/zzz/bbb/abcd.aspx?deleteIDs=" + request_ids,
contentType: "application/x-www-form-urlencoded",
data: '',
dataType: "html",
complete: function(xhr, status) { 

    if (status == "success") 
    {
    }
    else {
    }
}
</code></pre>

<p>The jquery code above has its status ="success" regardless of the outcome of the background operation. What am I doing wrong?</p>
