Comments (1)
Hi
not sure whether you solved the issue by yourself, but nevertheless, here is an answer to your problem.
You can assign any value to the cookie, which jquery.filedownload listens for (see setting "cookieName"). The default is "fileDownload" (see source line 113)
So if you return a Javascript-visible cookie (i.e. not HttpOnly), which is like
"fileDownload=1"
it will trigger the successCallback
HTH
from jquery.filedownload.
Related Issues (20)
- Success msg alert before actual pdf download completed HOT 1
- Fail event is never fired with PHP header HOT 1
- Chrome 64 issue HOT 6
- ASPNETCore 2.0 HOT 1
- call done() not working HOT 4
- time for androidPostUnsupportedMessageHtml to be deprecated?
- Chrome version 70.0.3538.77 64 bits not working when latin chars HOT 2
- Possibly bloated NPM package HOT 1
- File download fails when client has an AV gateway in place
- Displaying the downloaded content?
- Changes to Chrome will break fileDownload soon. HOT 6
- Download done is only started
- 12 commits since release 1.4.6 in year 2016
- ResponseHtml empty on Failure on Internet Explorer 11
- Internet Explorer not sending request
- Problems on latest versions of iOS Safari (maybe just from 14 on)
- Not working in MVC Net Core 5
- Upload files from <input type=file> with the download request
- Safari issue: "Failed to load resource : frame load interrupted" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery.filedownload.