I test.html öppnar jag ett nytt fönster(test2.html). I det fönstret vill jag sedan sätta location i test.html till en godtycklig URL. Hur gör jag det? Just nu ser mina filer ut enligt följande...
(IE 5.5)
test.html:
---------
<html>
<body>
<input type="button" value="test" onclick="javascript:window.open('test2.html');">
</body>
</html>
---------
test2.html
---------
<html>
<body>
<input type="button" value="stäng och uppdatera parent" onclick="javascript:parent.document.location='URL'">
</body>
</html>
---------
Tack för hjälpen...