Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

download pdf javascript

var link = document.createElement('a');
link.href = url;
link.download = 'file.pdf';
link.dispatchEvent(new MouseEvent('click'));
 
PREVIOUS NEXT
Tagged: #download #pdf #javascript
ADD COMMENT
Topic
Name
8+9 =