Answers for "download a image from url jquery"

0

download image jquery onclick

$(".button_click").on("click", function () {
        var imagePath = "https://dummyimage.com/16:9x1080";
        var fileName = "Dummy_image.png";
        saveAs(imagePath, fileName); // This is a function please download the file from the link
        //Download file from this link  
        // https://raw.githubusercontent.com/eligrey/FileSaver.js/master/dist/FileSaver.js
    });
Posted by: Guest on November-11-2021

Code answers related to "download a image from url jquery"

Browse Popular Code Answers by Language