Save Page As Button on page

Armen's Avatar, Join Date: May 2007
Newbie Member
Hi,
having a small problem, need to make PrintPage and SavePageAs
buttons on the page. The first one is easy:
<input type="button" id="btnPrint" onclick="window.print( )" value="Print">
Cant figure out how to make SavePageAs...

Anybody can help?

Thanks!
0
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Well, you can't unless you write some ActiveX control. There is no such in-built functionality in JavaScript to pop-up the Save As dialog.