Posted by yihucd on 11/23/55 11:39
I am write a html page that has one link on it. The purpose of the link
is to popup a window to let the user download/save the Excel file to
his/her local computer. But by using my code, when I click the link
"file" in the page, the content of the excel file showed in the browser
(I have firefox as my defult browser).
What I want is that : no matter what the user's default browser is,
when user click the link in the page, the browser should always pop up
a window to let the user save the file.
(because it is annoying to show some garbage in the browser window)
Thanks,
David
------------------------------------------my code --------
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>click file</title>
</head>
<body>
<p>click <a href="xls_to_del.xls">file</a></p>
</body>
</html>
[Back to original message]
|