4 Replies Latest reply on Dec 10, 2014 3:21 PM by resdesign

    How would I create a link to download an image to the harddrive from within edge?

    Potts Level 1

      I'm using this code in an on-click event currently, but it just opens the image in a new page, it doesn't download the file to the user's computer.

      window.open("URL HERE", "download", "_blank");


      I also tried using this code on a text-box, but it didn't do anything. i'm sure it's missing some on-click thing, but i'm not sure how to phrase that.

      sym.$("Text4").html("<a href='URL HERE' download>");