怎么直接下载txt文件,而不是在IE中打开?
imimp 2004-08-03 04:40:49 <script>window.open('http://myhost/temp/test.txt','_blank','width=10,height=10,resizable=0,scrollbars=0,menubar=no,status=no');
</script>
我本意是通过上面的方式直接弹出下载框,但是如果是文本文件,就直接在IE中就打开了
有什么办法让txt文件不在IE中打开而是弹出下载框呢?
下载软件和文件另存为除外。