LittleNFiesty
Technical User
I want to put a button on my page so when you click on it it downloads a pdf to their computer. But I can't figure out how to do it. HELP!!
P.S. Using DW CS4
P.S. Using DW CS4
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
<a href="[URL unfurl="true"]http://www.servername.com/path/to/file.pdf">Download[/URL] PDF</a>
<input type=button value="Download PDF" onclick="document.location='[URL unfurl="true"]http://www.servername.com/path/to/file.pdf'">[/URL]
<a href="[URL unfurl="true"]http://www.servername.com/path/to/file.pdf"[/URL] target="_blank">Download PDF</a>
<input type=button value="Download PDF" onclick="window.open('[URL unfurl="true"]http://www.servername.com/path/to/file.pdf')">[/URL]