suzie Posted March 10, 2010 Share Posted March 10, 2010 Dear,In our website , I want to add Save button under the article in order for the article to be saved,so onclick:"window.open()"...so the article will be open in a new window, what I need that automatically the save as window will be opened, to let the user save the article.is there a javascript function for that, and how can I call it....thank youRegards, Link to comment Share on other sites More sharing options...
Synook Posted March 10, 2010 Share Posted March 10, 2010 How is the article going to be stored? Link to comment Share on other sites More sharing options...
suzie Posted March 10, 2010 Author Share Posted March 10, 2010 How is the article going to be stored?as an .html file...I opened the article in a .html file but I don't know how to let the save as window open..thanks a lot Link to comment Share on other sites More sharing options...
Synook Posted March 10, 2010 Share Posted March 10, 2010 I mean, what is actually going to be "saved", and where? Link to comment Share on other sites More sharing options...
suzie Posted March 10, 2010 Author Share Posted March 10, 2010 I mean, what is actually going to be "saved", and where?the article am reading has to ba saved, not all the web page, to a place where i can choose it.... Link to comment Share on other sites More sharing options...
justsomeguy Posted March 10, 2010 Share Posted March 10, 2010 I don't think there's a way of forcing the save dialog to open. If there was it would be a method on the window object (like window.save) and I don't see it listed. There are ways to use a server language like PHP to force a download/open dialog box, but not with Javascript. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.