jakiboy
asked on
how to invoke a "saveas dialog box" which should save only ".pdf files"
using javascript, i invoked a saveas dialog box, the problem is , it is only storing .html & .doc files by default, i want to store .pdf files only
the code i used is
function SaveFile(fname)
{
document.execCommand('save as', null,fname)
}
<input type= "button" value="save" onclick="SaveFile('');">
the code i used is
function SaveFile(fname)
{
document.execCommand('save
}
<input type= "button" value="save" onclick="SaveFile('');">
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.