Problems opening a PDF file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • HD

    Problems opening a PDF file

    Hi,

    I have a page with a button that calls a Javascript function that opens a
    pdf file with Acrobat Reader in a popup window (function code is below).
    When I work on my own computer (http:/localhost) it works fine... but when I
    work on our Extranet server, it does not open the pdf file...
    Do I need to have Acrobat Reader on the server?? I thought that AR just
    needed to be on the client's own computer.
    Maybe it is my javascript function...
    Please help.

    Here is the function:

    function OpenMyFile(myfi lename){
    if (myfilename == "NonExistan t") {
    alert("Does not exist!");
    }
    else {
    window.location = myfilename;
    }
    }

    TIA,
    HDumas


  • VK

    #2
    Re: Problems opening a PDF file





    Comment

    Working...