Save Page As Button on page

Discussion in 'JavaScript and AJAX' started by Armen, May 7, 2007.

  1. Armen

    Armen New Member

    Joined:
    May 7, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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!
     
  2. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,645
    Likes Received:
    87
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    http://blog.pradeep.net.in
    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.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice