Menu
I am trying to force the Save As window to pop up.
I have a link to a .epub file which is not recognized by the browser so shows as “page cannot be found” when clicked.
I would like Save As box appear when you click on the link.
in my header i have
[code=html]<script type=”text/javascript”>
function save(){
str = document.forms[0].input.value;
mydoc = window.open();
mydoc.document.write(str);
mydoc.document.execCommand(“saveAs”,true,”.html”);
mydoc.close();
return false;
}
</script>
and on my link I have
[code=html]<a href=”files/DM_EmailAutoBulkFiling.epub” onclick=”save()”>Click Here</a>