Click Download button to get file!
You can save the form tag and just add an onclick to the button tag. – doesn't work as a trigger, just redirect to the url as 'a' tag. – This works better : <a href="path_to_file" download="proposed_file_name">Download</a> – kscius Jul 7 '16 at 3:33. html, etc.). You can also specify a value for the download attribute, which will be the new filename of the downloaded file. If the value is omitted, the ... How To Create Download Buttons.