Here Mudassar Ahmed Khan has explained with an example, how to download PDF file using AJAX in jQuery. The PDF 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.

710