I have video file with me and my requirement is to download file using javascript. I have used following code:- <a href="/tmp/motiontween1easy.swf" >Video Download</a> Above code is rendering the video file but not asking for the download. I want file to be
downloaded using javascript. If anyone has implemented above requirement, please share the code with me. It
dineshpatil
Member
1 Points
17 Posts
Download the file using javascript file
Apr 04, 2012 12:48 PM|LINK
chetan.sarod...
All-Star
65739 Points
11138 Posts
Re: Download the file using javascript file
Apr 05, 2012 03:39 AM|LINK
Hi, Please refer this
http://stackoverflow.com/questions/3749231/download-file-using-javascript-jquery
http://thisisleon.co.uk/2010/04/08/downloadr-jquery-file-download-plugin/
http://peter.worksontheweb.net/2009/04/16/sequentially-download-multiple-files-with-jquery/
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
dineshpatil
Member
1 Points
17 Posts
Re: Download the file using javascript file
Apr 05, 2012 05:08 AM|LINK
BU XI - MSFT
All-Star
22367 Points
2704 Posts
Microsoft
Re: Download the file using javascript file
Apr 06, 2012 04:12 AM|LINK
The download behavior can be implemented by browsers different. Basically, you'll configure each browser not to display it, but to download it.
If you have any feedback about my replies, please contact msdnmg@microsoft.com.
Microsoft One Code Framework