This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
Similar Threads
object doesn't support the property or method
Check if popup window is already open from parent window?
How to close the popup window automatically after download completes
window.focus() or Adobe plug-in?
Multiple frames + Access is denied