Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js download file from webserver

<iframe id="download_iframe" style="display:none;"></iframe>
<script>
	document.getElementById('download_iframe').src = "/example/example.txt";
</script>

 
PREVIOUS NEXT
Tagged: #js #download #file #webserver
ADD COMMENT
Topic
Name
1+9 =