Saveas Dialog box
I have a js function which load a whole letter in a div and have a print button that allow the user to print the letter. I have to add an option that allow the user to save the letter in a location.I was trying to do something like a saveas dialog which the user can save the letter at any location.Can anyone please help me to achieve it.Note that I am using IE8.Thank you, below is part of my code.
var content = window.opener.LoadLetterinPreview();
<div id="print" style="border:1px red solid; width:650px;"></div>
Internet Explorer's JScript (only) lets you write to the Windows local file system by means of the harmless execCommand() function. It is possible in IE in certain circumstances to use ActiveX objects to access the directory and read files. This is not recommended for a variety of reasons.
All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.
|All times are GMT +1. The time now is 07:56 PM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.