You can add a script tag at the end of the body etc — minj. Show 2 more comments. It is also possible to open the pdf link in a new window and let the browser handle the rest: window. Andreas Andreas 8 8 silver badges 22 22 bronze badges.
URL window. Suresh Suthar Suresh Suthar 7 7 silver badges 14 14 bronze badges. Alpesh Panchal Alpesh Panchal 1, 10 10 silver badges 9 9 bronze badges. Please Elaborate — Ehsaan Israr.
Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Why hooks are the best thing to happen to React.
The PDF file are stored in a folder named Files inside the project directory. Inside the window.
DownloadFile "Sample. URL window. Browser Compatibility. View Demo. Related Articles. Add Comments. Thank you for the feedback.
The comment is now awaiting moderation. You will be notified via email when the author replies to your comment. Please select a comment to reply. You can add your comment about this article using the form below. Make sure you provide a valid email address else you won't be notified when the author replies to your comment Please note that all comments are moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content.
Please do not post code, scripts or snippets.