Build File Downloader From URL Using JavaScript HTML5 CSS3
Free JavaScript file download from URL script. index.html
Create Digital Alarm Clock With Ringtone & Custom Icons in JavaScript HTML5 CSS3
In this tutorial, I will teach you how to create a Digital Alarm Clock with Ringtone using HTML5, CSS3, and JavaScript. The complete source code of this JavaScript alarm clock app is given below. You can download the full source code (including images and ringtone) of this JavaScript alarm clock app at the end of this article. … Read more
jsPDF Html2Canvas Tutorial: Convert Div With Attribute Hidden to PDF and Print it in Browser Using HTML5 and JavaScript
In this tutorial, you will learn how to use jsPDF Html2Canvas to print hidden div. To hide an HTML tag; add this attribute tag data-html2canvas-ignore=”true” instead of the hidden. So with Mario Alexandro Santini’s suggestion in the comments, I was able to solve the problem. I used jquery to unhide the div in my makePdf() … Read more
Angular 13 jsPDF Html2Canvas Project: Export Multiple HTML Div Content in Different PDF Pages Using TypeScript
On the Angular 2 framework (now Angular 13), you can use the step-by-step logic mentioned below: On click execute generateAllPdf() function gather all 6 id‘s from my HTML collection iterate through each id and call the html2canvas function, as html2canvas runs in the background to process images, I’m using await on function, after the html2canvas … Read more
jsPDF Html2Canvas Project: Export Multiple Google Charts from Webpage to PDF Document in JavaScript
It seems that the code works but doesn’t scale too well. It’s possible that by performing all operations in parallel, javascript’s Garbage Collection (GC) isn’t given the opportunity to clear intermediate objects, and an oversized heap causes the crash. Performing the operations in series may have a positive effect. The code is simply derived from … Read more