Here Mudassar Ahmed Khan has explained with an example, how to download file in AJAX Response (Success) using jQuery.
The file will be downloaded as BLOB using jQuery AJAX and XmlHttpRequest (XHR) request and then the file will be downloaded using the Response inside the Success event handler of jQuery AJAX function.