In this example we will show how to justify text in jsPDF. We have created an html page which can be exported to pdf on ‘Export to PDF’ button click. JSFiddle is also available
Category: jQuery
Export web page to pdf using jsPDF
sPDF is a client side Javascript PDF generator. In this example, we will show a simple example to export a web page on button click.
Check if element is visible or hidden in jQuery?
Check if element is visible or hidden in jQuery? The below code will help to identify if the element is visible or not:
How to add an Array of classes to an element using jQuery? Ex. Add different color to different using [array]
With jQuery 3.3.0, the .addClass(), .removeClass(), and .toggleClass() methods accept an array of classes. We will see how to add different color to n number of div elements on