troubleshooting Question

open new window from an applet

Avatar of nphnhi
nphnhi asked on
Java
9 Comments1 Solution239 ViewsLast Modified:
Hello,
How to open new window from an applet.
I have an applet with one button "Edit". On click this button, I want to open new window. I used:
getAppletContext().showDocument(new URL("javascript:window.open('/eportfolio/form/editchart.jsp?type=5&chart=5', null, 'width=720, height=400, scrollbars=1, status=yes');"));
It will open new window, but the parent window (I mean the page where this applet displayed) will change the URL like: javascript:window.open('/eportfolio/form/editchart.jsp?type=5&chart=5', null, 'width=720, height=400, scrollbars=1, status=yes');
Please help me
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 9 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros