Jump to content

Save Buuton


suzie
 Share

Recommended Posts

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...