Hi,
I want to save the HTML file without popping SaveAs Dialog.
But the above code is still popping the dialog. I even tried with 'null' and 0 in place of false. But it didnt work. Can anyone tell me what the problem is ?
Thanks.
I want to save the HTML file without popping SaveAs Dialog.
Code:
function doSaveAs(){
if (document.execCommand)
document.execCommand("SaveAs",false,'summaryHTML.html');
};
But the above code is still popping the dialog. I even tried with 'null' and 0 in place of false. But it didnt work. Can anyone tell me what the problem is ?
Thanks.