Close Parent Window

Results 1 to 3 of 3

Thread: Close Parent Window

  1. #1
    Join Date
    Dec 1969

    Default Close Parent Window

    onload="javascript:window.close();" <BR><BR>I need to close a parent window after I use - anyone have some script I can play with?<BR>

  2. #2
    Join Date
    Dec 1969

    Default not parent...opener...

    "parent" only applies to frames.<BR><BR>&#060;BODY onLoad="opener.window.close( );"&#062;<BR><BR>But be forewarned: The user will get a message "Some script is attempting to close this window. Do you want to allow it?" [or words to that effect].<BR><BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: not parent...opener...

    You can also try this<BR><BR>If I remember correctly you don&#039;t get the warning message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts