This is a two part question.
1) Code above is just an example.
2) I want a PDF file once selected to both dowload or just preview (without having to zip up every PDF file.
User Profile
Collapse
-
Can someone help me out with the code? Trying to achieve something like this.
(html)
...Code:<form action="../"> <select name="fileType"> <option value1="name.pdf" value2="pdf.zip">PDF</option> <option value1="name.ppt" value2="ppt.zip>PowerPoint</option> <option value1="name.xls" value2="excel.zip>Excel</option>Leave a comment:
-
Single select dropdown menu with two result buttons
I've got a choose file type select menu of two options: PDF and PowerPoint. Once you select PDF you can either click Download or Preview button.
No activity results to display
Show More
Leave a comment: