Home > Default > After opening a new window, [object] is displayed instead of the link

After opening a new window, [object] is displayed instead of the link

November 30Hits:0
Advertisement
Hello,
I have the following JSP - file. It prints a link to the display, if this link is clicked a new window with the file Test2.html is opened. This all works.
My problem: In the first window, at the place where the link "Press" was, is now the phrase [object]. But I want that there is still the link "Press" and not [object].
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
Press
</BODY>
</HTML>

Answers

<a href="javascript:void(0); onclick="window.open('template/Test2.html','','height=450,width=600, left=150, top=150');" class="navFunction"></a>

Read other 3 answers

Tags:

Related Articles

Copyright (C) 2019 wisumpire.com, All Rights Reserved. webmaster#wisumpire.com 14 q. 0.818 s.