About 650,000 results
Open links in new tab
  1. How to trigger a file download when clicking an HTML button or ...

    How to trigger a file download when clicking an HTML button or JavaScript Asked 13 years, 3 months ago Modified 2 months ago Viewed 1.9m times

  2. How can I create download link in HTML? - Stack Overflow

    May 8, 2010 · I have a basic idea of HTML. I want to create the download link in my sample website, but I don't have idea of how to create it. How do I make a link to download a file …

  3. How to make PDF file downloadable in HTML link? - Stack Overflow

    Dec 13, 2008 · 15 I found a way to do it with plain old HTML and JavaScript/jQuery that degrades gracefully. Tested in IE7-10, Safari, Chrome, and FF: HTML for download link: <p>Thanks for …

  4. Create a download button using html and php - Stack Overflow

    Now my problem is, when I click on download button, content of the PHP file get opened rather than downloading the file. Can anyone please help me to fix this issue.

  5. html - href image link download on click - Stack Overflow

    Mar 9, 2010 · Learn how to create an image download link using PHP with a simple code example.

  6. How can I let a user download multiple files when a button is …

    zip sucks if you're on, say, a phone. you can just trigger all three downloads, and chrome even recognizes this and prompts the use if they want to allow your site to "download multiple files". …

  7. javascript - How can I download a PDF file instead of opening …

    I was wondering how to make a PDF file link downloadable instead of opening them in the browser? How is this done in html? (I'd assume it's done via JavaScript or something).

  8. How to trigger a download when an HTML button is clicked

    Aug 29, 2020 · How can I create an HTML button that downloads .html, .js, .css, and .txt files automatically, without having to press any more buttons? I tried using the code below, but for …

  9. How do I create a Download button in HTML? - Stack Overflow

    Jan 28, 2019 · Hello I am trying to code an HTML button to download an image. Here is the code I am using that seems like I am getting close but not quite there.

  10. how to add custom download button in html? - Stack Overflow

    Dec 28, 2022 · Create a button in HTML using <a> tag because in order to download it we have to reference the file using href attribute. In order to download the file we use download attribute.