JavaScript

  • How to Delete pages from pdf file in JavaScript

    How to Delete pages from pdf file in JavaScript

    we need JavaScript libraries: pdf.js: “https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.12.313/pdf.min.js” pdf-lib: “https://unpkg.com/pdf-lib@1.3.0” //This library helps to delete pages. downloadjs: “https://unpkg.com/downloadjs@1.4.7” //use for download attachment…

  • Targeting methods in Javascript (querySelector)

    Targeting methods in Javascript (querySelector)

    querySelector       document.querySelector(CSS Selector) querySelectorAll  document.querySelectorAll(CSS Selector) querySelector()  The querySelector() method returns the first Element within the document that matches the…

  • JAVASCRIPT METHODS

    JAVASCRIPT METHODS

    length // it is a property toLowerCase() toUpperCase() Includes() startsWith() endsWith() search() match() indexOf() lastIndexOf() replace() trim() charAt() charCodeAt() fromCharCode()…

  • JavaScript DOM(Document Object Model)

    JavaScript DOM(Document Object Model)

    DOM is such a technology with the help of which we can completely control any html document with JavaScript. With…