Hi,
I would like to click a link within my page that should enable the user to download file from the server (the user should keep working on the page after the download completed).
I succeeded to do so by using the following code:
function Download(itemName)
window.open("http://...../FileDownloadServlet? itemName=" + encodeURIComponent(itemName), '_blank', "width=1,height=1,left=0,top=0");
}
?..
<a href=?javascript:void(0)? onClick=?Download(name[1]); return false;?>Click to download</a>
The problem I?m facing is that I?m using a new window for this action; can I do it without a window and with no using frames?
10x in advanced
Yossi Admon