1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    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