jQuery File Download is a cross server platform compatible jQuery plugin that allows for an Ajax-like file download experience that isn’t normally possible using the web.
Pull request Compare This branch is 74 commits behind johnculviner:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
CHANGELOG.md
README.md

README.md

jQuery File Download is a cross server platform compatible jQuery plugin that allows for an Ajax-like file download experience that isn't normally possible using the web.

Supported and tested browsers

  • Internet Explorer 6 - 9
  • Firefox 11 - reasonably sure it will work on earlier versions
  • Chrome 17 - reasonably sure it will work on earlier versions
  • iOS 5.0 - reasonably sure it will work on earlier versions
  • Android 4.0 - non-GET requests do not work due to a long-standing bug in the Android browser. This is handled 'gracefully' with a message to the user.

Demo (of this exact source):

http://jqueryfiledownload.apphb.com/

Note - You must also write a cookie in conjuntion with using this plugin as mentioned in the orignal post:

http://johnculviner.com/post/2012/03/22/Ajax-like-feature-rich-file-downloads-with-jQuery-File-Download.aspx

Example of writing cookie (MVC):

https://github.com/johnculviner/jquery.fileDownload/blob/master/src/Common/FileDownloadControllerBase.cs

For more information and documentation please visit:

http://johnculviner.com/category/jQuery-File-Download.aspx

Or look at the well documented JavaScript source:

https://github.com/johnculviner/jquery.fileDownload/blob/master/src/Scripts/jquery.fileDownload.js