14
클릭시 브라우저가 이미지 파일을 다운로드하도록 강제 실행
Excel 시트를 클릭 할 때와 마찬가지로 이미지 파일을 다운로드하려면 브라우저가 필요합니다. 클라이언트 측 프로그래밍만을 사용하여이를 수행하는 방법이 있습니까? <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript" src="Scripts/jquery-1.10.2.js"> $(document).ready(function () { $("*").click(function () { $("p").hide(); }); }); </script> </head> <script type="text/javascript"> document.onclick = function (e) { e = e || window.event; var element …
100
javascript
jquery
html