<font face="arial" size="2"><br />&nbsp;&nbsp;&nbsp;IIRC, this is determined by browser-registered mimetypes and server-generated content type headers, i.e. you can't do that with client script.&nbsp; Hopefully I'm wrong and someone else will have a great idea for you; in the meantime, you can tell your users to right-click on the link and select "Save Target As".<br /><br /><br /></font><font face="Tahoma, Arial, Sans-Serif" size="2"><b>From</b>: Nick Baker <a href="mailto:CF@isbc.com">CF@isbc.com</a><br /></font><br />Peter,<br /><br /><a href="http://shipmates.com/info.doc">Download</a> opens the file<br />in the browser. I want the user to download the tile to disk.<br /><br /><br />Thanks,<br /><br />Nick<br /><br />At 02:39 PM 3/17/2005, you wrote:<br />&gt;Hi Nick,<br />&gt;<br />&gt; Welcome to Javascript :)<br />&gt;<br />&gt; Actually, you don't need JS at all for a download link. Links <br />&gt; already...er...link to files, like this:<br />&gt;<br />&gt;<a href="http://shipmates.com/info.doc">Download</a><br />&gt;<br />&gt; I don't know what this crazy function is, but you don't need it for <br />&gt; what you're doing.<br />&gt;<br />&gt;Cheers,<br />&gt;<br />&gt;Peter<br />&gt;<br />&gt;From: Nick Baker <?xml:namespace prefix = mailto /><mailto:CF@isbc.com>CF@isbc.com<br />&gt;<br />&gt;Brand new to Javascript and need to put a link to download a MS Word doc<br />&gt;file. I see the all the time,<br />&gt;but doesn't work for me.<br />&gt;<br />&gt;href="javascript:downloadNow('http://shipmates.com/info.doc','','')"&gt;Download<br />&gt;<br />&gt;I suspect that I need the function? If so where can I get that?<br />&gt;<br />&gt;Or???<br />&gt;<br />&gt;Thanks,<br />&gt;<br />&gt;Nick</mailto:CF@isbc.com>