Save as Problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   jay_Sy
Posted On:   Sunday, March 16, 2003 11:17 PM

I have this page that will pop-up the save as dialog box so that my page can be saved for the purpose of printing it off-line. My problem is that it does save a file but when i open it, it gives out an error mesage on the browser that "page cannot be displayed". What should I do??

Here is the code that I used.


if (document.execCommand)
{
document.execCommand ("SaveAs","true","application_form.htm");
}

Re: Save as Problem

Posted By:   Nitesh_Naveen  
Posted On:   Monday, March 17, 2003 03:41 AM

The pages will work fine. There should be something you are doing onload of this page or probably some login checking etc which redirects it to another page and that could be giving the problem.
About | Sitemap | Contact