Answers for "download pdf in javascript"

1

download pdf javascript

var link = document.createElement('a');
link.href = url;
link.download = 'file.pdf';
link.dispatchEvent(new MouseEvent('click'));
Posted by: Guest on July-16-2021
0

download pdf in javascript

var link = document.createElement('a');
link.href = url;
link.download = 'file.pdf';
link.dispatchEvent(new MouseEvent('click'));
Posted by: Guest on September-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language