File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Member Not Found JS error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Member Not Found JS error" Watch "Member Not Found JS error" New topic

Member Not Found JS error

Reese Doherty

Joined: Dec 07, 2006
Posts: 8

I have encountered an issue since installing Adobe Reader 7. Previously I was able to open a PDF in a popup window and then click on a link which would open another PDF in the same popup window (ie replacing the old content). However now when i click on the second link I get a Member Not Found JS error. I am forced to close the popup manually before I can load the second PDF.
Any ideas what i could do to my JS function to resolve this? My function contains the following

var features =
'width=' + newWidth +
',height=' + newHeight +
',menubar=' + 'yes' +
',scrollbars=' + 'yes' +
',toobar=' + 'no' +
',resizable=' + 'yes' +
',left=' + newLeft +
',top=' + newTop ;

var window1="","WIN",features);;

Thanks a lot
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15376

if(window1 && !window1.closed)window1.close();

Reese Doherty

Joined: Dec 07, 2006
Posts: 8
I'm afraid the error still arises with that additional code
I agree. Here's the link:
subject: Member Not Found JS error