Window problem

Results 1 to 2 of 2

Thread: Window problem

  1. #1
    Join Date
    Dec 1969

    Default Window problem

    I have a button on a web page that closes itself. <BR>Here is the code :<BR> &#060;input name="idClose" type="button"<BR> value="Close Window" onClick="window.close();"&#062;<BR><BR>This works fine with some PCs I have tested but not on others. For example, on one PC running IE4 pressing the button does nothing<BR><BR>Does anyone know why this is?<BR>Thanks<BR>Danny

  2. #2
    Join Date
    Dec 1969

    Default RE: Window problem

    try self.close() instead unless of course there&#039;s a frameset in the popup - then use top.close()<BR><BR>j

Posting Permissions

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