I have a very simple page that shows a list of names and links to
a .pdf file associated to each name. The code is below. When a user
clicks on the "Save" button, I would like them to get the popup box
that asks if they want to save or open the do***ent; however, I can't
get that to work - it just opens the .pdf.
It has to be something really easy...can someone help? I've been
having one of those days...I should probably just go home.
thanks!
<!--- get list of PDFs --->
<cfoutput query="candidateFiles">
<!--- split the file names into usable output --->
<cfset LastName = #GetToken(name, 1, "_")#>
<cfset FirstName = #GetToken(name, 2, "_")#>
<cfset FirstName = #GetToken(FirstName, 1, ".")#>
<tr>
<td id="listData">
#LastName#, #FirstName#
</td>
<td id="listData">
<a href="#hrefPath##name#" title="#FirstName# #LastName#
Nomination Package" target="_blank"><img src="../images/iconOpen.gif"
border="0" /></a>
</td>
<td id="listData">
<a href="#hrefPath##name#"><img src="../images/iconSave.gif"
border="0" /></a>
</td>
</tr>
</cfoutput>


|