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
Why not just use a normal url?