how to triggered open/save window by using javascript?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume you mean the “Open page” and “Save page as…” dialogs.
These cannot be triggered by JavaScript from within an HTML page.
You can, however, generate downloadable files from within JavaScript using the Flash-based Downloadify helper. That way, you could theoretically generate a file download in the browser that contains the current page’s HTML source code.