Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

window.close ISSUE!!

Status
Not open for further replies.

smellykat

Programmer
Mar 4, 2002
33
US
How can I get rid of the pop-up that appears when I do an onClick='opener.close();'?? I want the parent/opener window to close automatically.
 
this was posted by luciddream:

this works in IE
Code:
<html>
<head>
<OBJECT id=closes type=&quot;application/x-oleobject&quot; classid=&quot;clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11&quot;>
<param name=&quot;Command&quot; value=&quot;Close&quot;>
</object>
</head>
<body>
<input type=&quot;button&quot; value=&quot;close window&quot; onclick=&quot;closes.Click();&quot;>
</body>
</html>
as far as NS goes, I have not heard of anybody being ab le to do it. --------------------------------------------------
Goals are dreams with deadlines
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top