function print(){
var URL2 = "C:/print/line/nameofpdf"
URL2 = URL2 + ".pdf"; //here after this please tell what logic should i write
}
I have to display a PDF on a button click in a popup window .So on the button click i am calling one function and i have path of the location where the PDF is stored in my local . Please note that i have to reload the parent page on closing the window where we are displaying the PDF and i have to perform the task using JAVASCRIPT.