[Javascript] javascript:downloadNow

Nick Baker CF at isbc.com
Thu Mar 17 16:15:40 CST 2005


Peter,

<a href="http://shipmates.com/info.doc">Download</a>   opens the file
in the browser. I want the user to download the tile to disk.


Thanks,

Nick

At 02:39 PM 3/17/2005, you wrote:
>Hi Nick,
>
>    Welcome to Javascript :)
>
>    Actually, you don't need JS at all for a download link.  Links 
> already...er...link to files, like this:
>
><a href="http://shipmates.com/info.doc">Download</a>
>
>    I don't know what this crazy function is, but you don't need it for 
> what you're doing.
>
>Cheers,
>
>Peter
>
>From: Nick Baker <mailto:CF at isbc.com>CF at isbc.com
>
>Brand new to Javascript and need to put a link to download a MS Word doc
>file. I see the all the time,
>but doesn't work for me.
>
>href="javascript:downloadNow('http://shipmates.com/info.doc','','')">Download
>
>I suspect that I need the function? If so where can I get that?
>
>Or???
>
>Thanks,
>
>Nick
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list