Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

download file using Javascript

<iframe id="my_iframe" style="display:none;"></iframe>
<script>
function Download(url) {
    document.getElementById('my_iframe').src = url;
};
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #download #file #Javascript
ADD COMMENT
Topic
Name
1+8 =