How JQuery identifies whether the response is success or failure
<p>I am new to JQuery. I found $.ajax() method for making ajax request. Here we add success and failure methods. But how JQuery internally finds whether the response from server is success or failure and calls the appropriate method ?</p>
