Sotorin
03-24-2003, 01:29 PM
Can someone explain the difference between the two and why the link version doesn't work and after I click on it [object] appears on the page and I have to "go back" to see the calling page.
The button works as intended. Here is copy of the HTML
-------
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<a href="javascript:window.open('http://www.yahoo.com');">test</a><br>
<input type=button value="Open Window" onClick="javascript:window.open('http://www.yahoo.com');">
</body>
</html>
----------------------
The button works as intended. Here is copy of the HTML
-------
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<a href="javascript:window.open('http://www.yahoo.com');">test</a><br>
<input type=button value="Open Window" onClick="javascript:window.open('http://www.yahoo.com');">
</body>
</html>
----------------------