I'm generating CSV files in an application I'm doing.
Right now I'm displaying the finished files as plain HTML links, but I would like to make them buttons.
Question:
Is it possible to configure a button so it triggers the "right click & save target as" action, because clicking on the button will try to load the CSV file in the browser.
If not, is there another way to prevent the button target being clicked and maybe display an alert, so the link is not being followed.
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…