(SOLVED) How to open a URL in a new Tab ?

In this tutorial , we will show you how you can open a URL in a new Tab and not a new window. we will start by creating a function to load a given URL into a new Tab . We can do this directly in the onclick JavaScript Action without a function . When […]

En Lire Plus

(SOLVED) how to insert an HTML element before another ?

If you need to insert an HTML element like one <div> or any other element before an existing element in the HTML Document you have to : 1. Get the element by ID : 2. Create the HTML element 3. Insert the element Here we will use insertBefore function to insert the created Div before the recovered Table. If you want […]

En Lire Plus

Angular : HTML to PDF with htm2canvas and jsPDF

Angular HTML to PDF htm2canvas jsPDF : Sometimes we need to export our HTML page into a PDF file. So how can we do this? There are two helpful tools that we can use to do this. The first is jsPDF that help us to produce a PDF file from an HTML content. The following is the […]

En Lire Plus