|
Details
Force pdf to open in browser not download javascript
It is a good user experience to allow them to open it in the browser, read the table of contents and then evaluate if it's worth downloading it. In this case, the file will be downloaded as expenses. I've had many clients request that links to anything but their website is opened in a new window, but if you fear losing visitors taking them hostage is not the answer. Please Note: this is for a public facing website so we cannot expect all of our external customers to change settings on their browsers. How to create a file and generate a download with Javascript in the Browser (without a server) Article
No Archives Categories |