Answers for "how to download in js"

0

js download html

<a onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)" href="#" download="page.html">Download</a>
Posted by: Guest on May-15-2021
0

javascript download

<a onclick="this.href='data:text/html;charset=UTF-8,'+encodeURIComponent(document.documentElement.outerHTML)" href="#" download="page.html">Download</a>
Posted by: Guest on April-22-2022

Browse Popular Code Answers by Language