for an incorrect Ajax action, I set with HTTP header code to 403 and send the following response :
{\"code\":\"403\",\"status\":\"Forbidden\",\"message\":\"Y
You should be getting in jQuery 'error' callback... http://api.jquery.com/jQuery.ajax/
error: function(xhr, status, error) { alert(xhr.responseText); }
(btw.. ur code?)